A *Database* is a container for multiple tables and other objects; do you mean
in a Table?
If so, Access doesn't itself keep track of order entry. You must have a field
(or fields) in the table which would allow you to identify "the last entry".
This might be a sequential Autonumber (if so, don't replicate your database or
it will become random!!) or a Date/Time field with a default value of =Now()
to timestamp each record as it's added. You can use a Top Values query or a
subquery to select the record with the Max of this field to identify the most
recently entered record.
Just a warning... Last means "the last record in disk storage order", not "the
most recently added record in the table". They MIGHT be the same, even most of
the time - but you really shouldn't count on it! Compacting or reindexing the
database may rearrange the records and the Last will be First.
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.