G
Guest
Hello,
I have a form that is set to not allow edits. There is an "edit" button, if
you will, that when clicked will set the form to allow edits. I have two
checkboxes on the form to set the record as "Active" or "In-Active".
What I would like to do is if the record is set to "In-Active" (In_Active =
True), I need ALL fields/controls on the form to be locked, with the
exception of the "Active" checkbox. The "Active" checkbox should remain
unlocked (Active.locked=False) so that if the recored need to be re-activated
users can click the "edit" button and select "Active" to unlock all the
fields/controls.
My question is, would I need to place each field/control in the "edit"
button code to state that when "edit" is clicked, if In_Active=True then
field.locked=true, or is there some kind of global command that could do this
for all fields/controls? I have quite a few fields/controls in the form!
I hope I explained this ok. If not, let me know of any questions you may
have. I thank you in advance for any assistance you may be able to provide.
I have a form that is set to not allow edits. There is an "edit" button, if
you will, that when clicked will set the form to allow edits. I have two
checkboxes on the form to set the record as "Active" or "In-Active".
What I would like to do is if the record is set to "In-Active" (In_Active =
True), I need ALL fields/controls on the form to be locked, with the
exception of the "Active" checkbox. The "Active" checkbox should remain
unlocked (Active.locked=False) so that if the recored need to be re-activated
users can click the "edit" button and select "Active" to unlock all the
fields/controls.
My question is, would I need to place each field/control in the "edit"
button code to state that when "edit" is clicked, if In_Active=True then
field.locked=true, or is there some kind of global command that could do this
for all fields/controls? I have quite a few fields/controls in the form!
I hope I explained this ok. If not, let me know of any questions you may
have. I thank you in advance for any assistance you may be able to provide.