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

Only show the most 5 recent records

Status
Not open for further replies.

tyleri

Programmer
Jan 2, 2001
173
US
I have a table with an autonumber as the key field.

How can I make a query that only shows the most 5 recent records that have been entered?
 
Use the Top property. You can set it for number of records or a percentage. In your case you would sort the AutoNumber Decending and select the Top 5 from the little combo box that say "All" in it up on the toolbar.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top