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

Removing dated material

Status
Not open for further replies.

ShaiBoo

Technical User
Mar 27, 2002
4
0
0
US
I'm running this queries that shows open records for the past 90 days. The only thing is that records past 90 days are still showing up but I need to eliminate them once they reach 91 days. Can anyone help?
 
You could use the dateadd function
eg
Dim a
a = Format(Date, "dd/mm/yy")
a = DateAdd("d", -91, a)


I've just tried this and it appears to work in 2000

regards

jo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top