A
Andy
Hi;
Have a checkbox on the frm that when True blocks the record from being
deleted.
Want to add code that when True it also blocks a user from editing the data
in all fields on the frm except for the checkbox,
At Microsoft found: 210252 ACC2000: How to Use Code to Cycle Through the
Controls on a Form. The snippet LOCKS all txt and cbos. Graying out all
Controls.
Don't want that Gray. Want the controls on the frm to block a user from
editing the data.
Need code that blocks a user from editing the code but does not gray all the
controls and allows changes to the chkbx.
Found snippet that sets individual controls to dynamically locks a control
but that is done by including the name of each control on the form. Too
much bloat that way.
Would someone be so kind and point me in the right direction.
Andy
Have a checkbox on the frm that when True blocks the record from being
deleted.
Want to add code that when True it also blocks a user from editing the data
in all fields on the frm except for the checkbox,
At Microsoft found: 210252 ACC2000: How to Use Code to Cycle Through the
Controls on a Form. The snippet LOCKS all txt and cbos. Graying out all
Controls.
Don't want that Gray. Want the controls on the frm to block a user from
editing the data.
Need code that blocks a user from editing the code but does not gray all the
controls and allows changes to the chkbx.
Found snippet that sets individual controls to dynamically locks a control
but that is done by including the name of each control on the form. Too
much bloat that way.
Would someone be so kind and point me in the right direction.
Andy