Help.Chris
Registered User.
- Local time
- Today, 00:42
- Joined
- Oct 11, 2000
- Messages
- 43
Hi All,
I have an SQL statement that is generated at runtime in a form for running in a report -
"SELECT [TrainingTasks].[TrainingDate] FROM TrainingTasks WHERE [TrainingTasks].[TrainingDate] >= #01/05/2003# AND [TrainingTasks].[TrainingDate] <= #24/05/2003#"
When this is run is it selected dates outside the selected period, ie 01/04/2003. I have copied the SQL statement across to the query window, and it shows correctly there in SQL view, but when you switch to Design view, the date comparison changes to >=#05/01/2003# and <=#24/05/2003#
ie. first date has change from 01/05/2003 to 05/01/2003 but the second hasn't???
I have no idea why it is switching the date round like this, please help????
Thank you!!!!!
Chris
I have an SQL statement that is generated at runtime in a form for running in a report -
"SELECT [TrainingTasks].[TrainingDate] FROM TrainingTasks WHERE [TrainingTasks].[TrainingDate] >= #01/05/2003# AND [TrainingTasks].[TrainingDate] <= #24/05/2003#"
When this is run is it selected dates outside the selected period, ie 01/04/2003. I have copied the SQL statement across to the query window, and it shows correctly there in SQL view, but when you switch to Design view, the date comparison changes to >=#05/01/2003# and <=#24/05/2003#
ie. first date has change from 01/05/2003 to 05/01/2003 but the second hasn't???
I have no idea why it is switching the date round like this, please help????
Thank you!!!!!
Chris