Disabling Subform Controls

  • Thread starter Thread starter Ted
  • Start date Start date
T

Ted

When I attempt to disable all of the controls in a
subform, I get an error message telling me that I can't
disable a control that still has focus. However, I can't
find a way to move the focus to another control on the
mainform in order to disable the subform control.

..GetFocus and GoToControl move the cursor to the proper
main form control, but I still get the same error message.

How can I disable all of the controls in my subform?

Thanks,

Ted
 
How can I disable all of the controls in my subform?

Try setting the "Locked" property of the subform control on the main form to
"Yes", instead.
 
Back
Top