Open form at last entry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If I have a form linked directly to a table, how can I set the form up so
that when it opens the last entry is showing and not the first?
 
Assumig that you have a field that point to the last record, like counter, or
date insert.
Make the recordsource of the form with order in that field
Select * From MyTable Order By MyField
 
Bil said:
If I have a form linked directly to a table, how can I set the form
up so that when it opens the last entry is showing and not the first?

Just for the record. Tables do not have an order. It is more of bucket
of data. If you want to identify the "last" record, you need to add some
sort of method to do so. Date or incrementing number fields should work.
Autonumbers will not work as they can not be relied on to maintain order,
only to provide a unique number.
 

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