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 =)
 
Back
Top