Jammin1984
Dec 4 2005, 10:03 PM
Hey all.
I wish to set a combobox's setLocked property to false.
It is in a sub form and wish to do this from a command button in the subforms parent form. I have looked about and can find ways to reference the forms properties, like size, visible etc, but not its controls.
Thanks much.
R. Hicks
Dec 4 2005, 10:13 PM
You must reference the control via the Subform Control that displays the subform on the Main form ...
Here is an example ...
CODE
Me![SubformControlName].Form![YourComboName].Locked = True
RDH
Jammin1984
Dec 4 2005, 10:17 PM
Sweet, thanks for the quick reply.
Makes sense to me now.