Locking fields

A

Allen

How do I prevent people using my data base from changing
values in the fields. Kind of locking that field from
being accessed and changed??
 
J

JeffW

Using your FORM's current event procedure:
if not me.newrecord then
me.allowedits = false
end if

Jeff
 
T

Tim Ferguson

How do I prevent people using my data base from changing
values in the fields. Kind of locking that field from
being accessed and changed??

The definitive answer is to implement Access user-level security.

The easier and more informal way is to set the textboxes on the forms to
Enabled=False and Locked=True, but you can't stop a determined user from
attacking the tables directly or using VBA or a query to edit stuff.

B Wishes


Tim F
 

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