Locking Records to Prevent Deletion

J

Joyce

I need to lock the records in my table so the files can
not be deleted or altered. What is the best way to
accomplish this that will allow the administrator to
quickly unlock the fields when needed and then relock
quickly.

I appriciate your help, thank you
 
S

Scott McDaniel

You can't "lock" tables unless you implement Access User Level Security ...
you can set .AllowDeletions = False on your forms which would disallow ANY
deletions (and you should NEVER allow users direct access to your tables
anyway, unless you want the unenviable task explaining to your boss why last
year's data is no longer available <grin>), but how do you determine who
can/cannot reverse this function?
 

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

Top