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

Finding First Previous date in a query

Status
Not open for further replies.

Hamboneman

Technical User
Apr 1, 2002
3
US
I am working on a Preventive Maintenance Database and want to take the last date of PM and compare it to the previous date of PM. How can I get a query to return the first previous date of PM from a table of completed pm dates?
 
Try constructing a query with the necessary criteria to gert the right recordset. Then sort the query date descending and set it, in its property table, to return the top value only.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top