Why does SQL change in the QEB

paulmcdonnell

Ready to Help
Local time
Today, 09:01
Joined
Apr 11, 2001
Messages
167
Hi guys...

Similar to my earlier problem...

If I put the following SQL into a QEB

SELECT Data_Basedata.* FROM Data_Basedata WHERE (((Data_Basedata.Surname) Is Not Null) AND ((Data_Basedata.promdate)=#12/17/2001#));

The QEB changes the date 12/17/2001 to #17/12/01#...

Why?

Cheers
Paul
 
I THINK that I just solved this myself by setting the format:


AND (Data_Basedata.promdate)= #" & Format([Forms]![Form-basedata-quick-update].[control1], "mm/dd/yy") & "#")

Cheers
 

Users who are viewing this thread

Back
Top Bottom