automatic date matcher not finding date

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hi

I'm seeing behaviour related to date matching which I don't understand.

My document has the following text:
Code: Select all
Bestelling:        01092012   Datum:       15/12/2019


I try to parse the date (the value '15/12/2019' in this case ) with the 'automatically detect date format' feature into a documentdate variable, but the date is not found:
https://drive.google.com/open?id=1DHjdIaVzvpLjSwt-BIcPXbxIqbeeXzBo

Perhaps the auto date match features tries to parse the order number '01092012' as a date, and fails silently?

If I change the order number '01092012' in the document to 'ABCDEF' then the date is found.
Document text in that case:
Code: Select all
  Bestelling:        ABCDEF   Datum:       15/12/2019


https://drive.google.com/open?id=12IMunYXBpWeYF27QZNQriCc1H6QUYOKh

Any idea's how I can make sure the date is found? (I do prefer to continue using the 'automatically detect date format' feature as default date matcher)
stevenmachtelinckx
 
Posts: 2
Joined: Wed Oct 09, 2019 2:30 am

Re: automatic date matcher not finding date Wed Apr 15, 2020 9:43 am • by Mr_Noodle
You would be better off trying to set the date format but if you want to keep using the automatic matcher, try preceding the custom date attribute with the "Datum: " text to give it context.
Mr_Noodle
Site Admin
 
Posts: 11870
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thank you for the suggestion.
I do prefer to keep using the automatic date format, as I aim to have a generic rule for all scanned documents.

Perhaps then I will check for a specific date format depending on the sender of the document, and use the automatic date format as fallback (if the sender is unknown).

Has anyone done simething similar before?
stevenmachtelinckx
 
Posts: 2
Joined: Wed Oct 09, 2019 2:30 am


Return to Support