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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access dates

Status
Not open for further replies.

griffitd

Programmer
Joined
Aug 20, 2002
Messages
189
Location
GB
I am trying to do a DELETE SQL statement to delete records where a date is less than 30 days from the current date.

The PC is running windows 2000 with the default and current regional settings set to UK.

If I enter a date of 04/13/2003 all records where the date is less than 13/04/2003 are deleted. If I enter the above date into the datasheet access automatically changes the date to 13/04/2003. I think is why the sql query i am writing is still deleting the data. Any suggestions?
 
? I'm a little lost here on what you mean. Could you post the query you're using? Thanks. We are always looking for new members at our computer forums:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top