Neilw
04-11-2002, 03:05 AM
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.
Thanks a lot.
|
View Full Version : Query Syntax Neilw 04-11-2002, 03:05 AM 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. wh00t 04-11-2002, 03:07 AM <Date()-178 Neilw 04-11-2002, 03:13 AM Thanks, just out of interest, what's the 178? Number of days? thankyou, Neil. wh00t 04-11-2002, 03:19 AM yes :} Neilw 04-11-2002, 03:34 AM 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 04-11-2002, 03:41 AM In code DoCmd.SetWarnings = False DoCmd.RunQuery ### DoCmd.SetWarnings = True Edit - typo [This message has been edited by wh00t (edited 04-11-2002).] |