Query Syntax (1 Viewer)

Neilw

Registered User.
Local time
Today, 06:05
Joined
Mar 13, 2002
Messages
36
Can anybody tell me the syntax in a delete query where i want to delete all records that have the date in one field older than 6 months.

Thanks a lot.
 

Neilw

Registered User.
Local time
Today, 06:05
Joined
Mar 13, 2002
Messages
36
Thanks,

just out of interest, what's the 178?

Number of days?

thankyou,

Neil.
 

Neilw

Registered User.
Local time
Today, 06:05
Joined
Mar 13, 2002
Messages
36
Another quick question, When the query is run, two default warning boxes come up and annoy the user. Is it possible to get rid of these?

Thanks again.
 

wh00t

Registered User.
Local time
Today, 06:05
Joined
May 18, 2001
Messages
264
In code
DoCmd.SetWarnings = False
DoCmd.RunQuery ###
DoCmd.SetWarnings = True

Edit - typo

[This message has been edited by wh00t (edited 04-11-2002).]
 

Users who are viewing this thread

Top Bottom