Base the form on a query that sorts on the CallDate in descending order and
then set the query to return only the top 1 record (it's in the property
sheet).
Yes, so long as there's something in the data that identifies which
record is the "last entry". For example, suppose you have a table named
"CallRecords", and each record in that table has a date/time field named
"CallDateTime", which is set to Now() when the record is saved. Thus,
the record with the maximum value in that field is the latest entry.
Given such a table, you could bind your form to a query like this:
SELECT *
FROM CallRecords
WHERE CallDateTime =
(SELECT Max(CallDateTime) FROM CallRecords);
You would need to requery the form after adding each new record.
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.