-----Original Message-----
Yes...
Work fine with:
Between [First date] And [last date]
Now, with arbitrary first date only or arbitrary last date
only, I don't know how to make...
Already I tried with wildcards but don´t work too.
Wildcards apply to Text fields, not to date/time fields.
One criterion I will use is:
([datefield] >= [First date] OR [First date] IS NULL)
AND
([datefield] <= [Last date] OR [Last date] IS NULL)
If the user enters only [First date] they will see all records more
recent than that date; if they enter only [Last date] they'll see all
records earlier than that date; if they enter both, they'll see only
records in between; if they enter neither, they'll see all records in
the table.
John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
.