I have created a form that has an unbound field into which I'd like the user to be able to enter date parameters such as >5/1/07 or between 5/1/07 and 5/31/07.
A query is then run with a button on the form which looks for the criteria on the form.
If I enter a date by itself, it runs fine, but if I enter a qualifier for the date (>, <, or between x/xx/xx and x/xx/xx) I get an error msg "The expression is typed incorrectly, or it is too complex to be evaluated".
If I enter the criteria directly into the query it works fine.
What am I doing wrong?
Thanks!
A query is then run with a button on the form which looks for the criteria on the form.
If I enter a date by itself, it runs fine, but if I enter a qualifier for the date (>, <, or between x/xx/xx and x/xx/xx) I get an error msg "The expression is typed incorrectly, or it is too complex to be evaluated".
If I enter the criteria directly into the query it works fine.
What am I doing wrong?
Thanks!