Hi, I've been trying to make a report that will show the deliverys to be made between 2 dates, or the deliverys to be made after a certian date, or the deliveries that were made before a certian date, based on criteria in a form.
At this point I have the report based on the query, and the dates bieng pulled from the form.
I can't seem to get the syntax right. In the query's WHERE statement I have <[forms]![Deliverys]![DelDate]. In the form, the field DelDate's format is set to short Date. That works, but if I leave it this way then i have to make 2 more queries and 2 more reports to be able to have the options im after.
I tried making an unbound textbox and if I hit before in the combo box and typed 08/01/07 in the DelDate field, then the textbox would would display <#08/01/07#. From there I called the field into the criteria of the query, but got an error of "This expression is typed incorrectly, or its too complex to be evaluated. etc...". But If i just type <#08/01/07# directly into the criteria of the query everything works great...
So, basically how can I get that information into the query?