Locked Field

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

Guest

Hi all,
Some of the fields on my form are unlocked only when pressing the add
button on the form. However, I found that those fields remain unlocked with
pressing the previous/next on the record status bar after pressing the add
button on the form. Are there any ways to lock those fields whenever users
press the previous/next button on the record status bar? Thank you for your
kindness.
 
Hi KFC,

You can use the Form_Current() event procedure to lock down either the
entire form (Me.AllowEdits = False) or you can lock down just individual
controls (Me.ControlName.Locked = True).


Tom

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

:

Hi all,
Some of the fields on my form are unlocked only when pressing the add
button on the form. However, I found that those fields remain unlocked with
pressing the previous/next on the record status bar after pressing the add
button on the form. Are there any ways to lock those fields whenever users
press the previous/next button on the record status bar? Thank you for your
kindness.
 

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

Similar Threads

Lock and Unlock a form 5
Record Lock 6
Command Button 2
Word Lock specific drop downs on a Word Document 0
Locking Fields 3
Return values 1
Check if folder path exists 4
Carry data forward or duplicate and erase 1

Back
Top