My Assistant
![]() ![]() |
|
|
Dec 4 2005, 10:03 PM
Post
#1
|
|
|
UtterAccess Enthusiast Posts: 69 From: UK |
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. |
|
|
|
Dec 4 2005, 10:13 PM
Post
#2
|
|
|
UA Forum Administrator Posts: 38,073 From: Birmingham, Alabama USA |
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 |
|
|
|
Dec 4 2005, 10:17 PM
Post
#3
|
|
|
UtterAccess Enthusiast Posts: 69 From: UK |
Sweet, thanks for the quick reply.
Makes sense to me now. |
|
|
|
Dec 4 2005, 10:22 PM
Post
#4
|
|
|
UA Forum Administrator Posts: 38,073 From: Birmingham, Alabama USA |
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 24th May 2013 - 08:25 PM |