Retriving the last row in a MSACESS table

  • Thread starter Thread starter LM
  • Start date Start date
L

LM

Hello,

Is it possible to get only the last row of a table
(MSACESS) without have to load the complete table?

Thank´s in advance.

L. Mendes
 
You could use a nested SQL statement to that:
"Select * From Customers Where Customer_ID = (Select Max
(Customer_ID) from Customers)"

This assumes that the Customer_ID field is an Auto
incremented field.

Hope that Helps =)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top