Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

4/7/2003 vs 04/07/2003 1

Status
Not open for further replies.

Zirak

MIS
Feb 3, 2003
164
US
Hi,
I have a parameter query in SQL. The Query selects records in a date range based on the parameters.

my problem is that if I put the dates in the format of 4/7/2003 it won't work and I have to insert the date like 04/07/2003.

I don't know how to fix this. Its important since the parameters are coming froman Access ADP front end through the calendar object which saves the date in the 4/7/2003 format.


Thanks
 
Is your field stored as a date field or a text field? if you are storing it as text you will encounter this problem. Check to see what the data type on the field is.
 
Thanks
The problem was the Data type.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top