LastRecord

  • Thread starter Thread starter Shakeel Ahmad
  • Start date Start date
S

Shakeel Ahmad

I have a query to enter monthly fees of studests

FeeID
FeeMonth
FeeYear
FeeAmount

I want to make another query and set its criteria to show only the:
Last Entry
Or the Greatest number of Autonumbers (FeeID)

plz help

Shakeel Ahmad.
 
SELECT TOP 1 tblFees.*
FROM tblFees
ORDER BY FeeID DESC;
 
Sorry, I could not use this method. Where should i enter this code?
I want to make a query and use this method in critera but when i enter this
code into criteria box, it does't work. it gives an error

plz explain....

Thanks and Regards
 

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

Similar Threads

incorrect query results when joining tables 4
Managing Stock 3
Access2003 4
Main Form and Subforms 1
Sum of fields/records 1
Object Source / Record Source 9
Reports 1
Main Form (Urgent Please) 4

Back
Top