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

Latest Date 1

Status
Not open for further replies.

magnys

Technical User
Apr 8, 2002
18
US
I've got a database that is detailed instructions for my assembly operators. There is a table in the database that is a "revision" table. Anytime I make a revision to an individual operator I enter the date that revision was made, a description of the change, and print out a hard copy of the updated instructions. As an operator goes through several different revisions, I have multiple dates for the operator. Is there a way that I can pull the latest date for each operator from the revision table for display in the operator instructions report?

Thanks for any help.

Magnys
 
Maybe you could try something like this:
Code:
SELECT tblInstructions.Instructions, Max(tblInstructions.Date) AS MaxOfDate
FROM tblInstructions
GROUP BY tblInstructions.Instructions;

Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top