Genius123
asked on
MS Access 2010 lock record in form
Hello,
I have an Access form where I want to lock the last record to keep people from editing it, but the other records are ok to edit. Is that possible?
Thanks, Joel
I have an Access form where I want to lock the last record to keep people from editing it, but the other records are ok to edit. Is that possible?
Thanks, Joel
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A table can be sorted in any order, so the "last" record can change.
If you mean the most "recent" record, then you can add a "created date" field to your table and add in the current date time.
The sort a query of this table by this date field, ...then do as etsherman suggests above...