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!

Most Recent Record for Each Account

Status
Not open for further replies.
Dec 17, 2003
39
0
0
US
I know this should be easy but I just can't think of a way to do this. I'm trying to write a query that will select the most recent invoice/transaction for each account. Right now, I have 2 tables: vendor and vendor transactions. Thanks for any help.
 
In the criteria row for the date field on your query you can use the DMax function:

DMax("YourDateField","YourTableName")

-Gary
 
i just tried that....it would not work....i'll continue to try it because its a function and something should work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top