Hi,
I have what to me seems to be a very wierd occurance in my work database.
I'm trying to fimler a report to display data over a certain date range. the user enters the start and end dates on a form and then code runs a rport and filters it based on the dates (and other fields) on a form.
The problem is I want the user to enter the date in the normal format dd/mm/yy which does not work and returns zero records every time.
I have tried writing the same filter parameters in the query designer (exactly the same text as produced by the form) and it works perfectly fine. However if I switch to SQL view the sql for the date filter has the format as mm/dd/yyyy.
If I sent the date in that format via the form it filters perfectly however I want the user to enter the date in the normal dd/mm/yy format. Is that normal or have I inadvertently set something to do this on my form/query?
Either way I'd appreciate it if someone can point me to a solution to this problem as it's driving me mad!
I have what to me seems to be a very wierd occurance in my work database.
I'm trying to fimler a report to display data over a certain date range. the user enters the start and end dates on a form and then code runs a rport and filters it based on the dates (and other fields) on a form.
The problem is I want the user to enter the date in the normal format dd/mm/yy which does not work and returns zero records every time.
I have tried writing the same filter parameters in the query designer (exactly the same text as produced by the form) and it works perfectly fine. However if I switch to SQL view the sql for the date filter has the format as mm/dd/yyyy.
If I sent the date in that format via the form it filters perfectly however I want the user to enter the date in the normal dd/mm/yy format. Is that normal or have I inadvertently set something to do this on my form/query?
Either way I'd appreciate it if someone can point me to a solution to this problem as it's driving me mad!