Please, check solution in the attachment
I used a trigger on document 'on open' event.
Go to settings ->Document properties -> Triggers and set the action there.
The action is selection in the field (I called it Date) and the syntax is:
It will generate a search string like this:
Hope this helps,
Auto select Dates.qvw 149.8 K