I
Ian Smith
Intuitively, one might expect that setting a form's
AllowEdits property false would prevent the user from
changing the contents of the form's underlying record.
Unfortunately, that's not the case--It prevents you from
altering the contents of any the form's controls, even the
unbound controls that are controlling the behavior of the
form. I can't even click a tab to move to another page,
for gosh sakes! And the Edit button that would set
AllowEdits true again is also disabled!
That being the case, if I want my form read-only, but want
it to behave properly, I appears must cycle through all of
it's controls to disable bound controls while leaving
unbound controls alone. And whenever I encounter a
subform, I must drop down into it and do the same thing
there. And to make it all worse, I get errors when I try
to look at a control's ControlSource property to deterlime
if it is unbound.
Please tell me I am on the wrong track here. Tell me
there's a simple way to accomplish this.
AllowEdits property false would prevent the user from
changing the contents of the form's underlying record.
Unfortunately, that's not the case--It prevents you from
altering the contents of any the form's controls, even the
unbound controls that are controlling the behavior of the
form. I can't even click a tab to move to another page,
for gosh sakes! And the Edit button that would set
AllowEdits true again is also disabled!
That being the case, if I want my form read-only, but want
it to behave properly, I appears must cycle through all of
it's controls to disable bound controls while leaving
unbound controls alone. And whenever I encounter a
subform, I must drop down into it and do the same thing
there. And to make it all worse, I get errors when I try
to look at a control's ControlSource property to deterlime
if it is unbound.
Please tell me I am on the wrong track here. Tell me
there's a simple way to accomplish this.