Locking

  • Thread starter Thread starter Chris_Bass
  • Start date Start date
C

Chris_Bass

Guest
How do I unlock and lock fields in a form using VB, so i can put the code behind a command button on a onclick command, so that when the button is clicked a select field which i want to be unlocked by the button, unlocks...

Can anyone help me?
 
Hi Chris,

Welcome to the forum!

Set your field properties Enabled to No

Then on your cmd button put the following:
Code:
me.fieldname.enabled = true

Andy
 
Thank you very much
 

Users who are viewing this thread

Back
Top Bottom