Locking a field after update

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to be able to lock a particular field from being changed when
opened to be edited - specifically the name in a form, while allowing other
data to be updated / modified. any suggestions would be greatly appreciated -
TIA
 
its very hard for me to understand what you trying to do.
but the right syntax to lock a field will be

if condition then
me.fieldname.locked=true
else
me.fieldname.locked=False
end if
 
ty ofer for replying. i have a data field with a name in it. after saving
the record, i'd like that field to be locked - and have an edit button to
unlock it. i found how to lock a field after an update. but i cant figure out
how to unlock it with my edit button. any suggestions are greatly appreciated
- TIA
 
i was able to figure it out by using your "me.fieldname.locked=False"
statement.
thank you! :)
 
Back
Top