Control on a Subform (Syntax)

xolo

Registered User.
Local time
Today, 23:52
Joined
May 6, 2009
Messages
34
How do I refer to a control on a subform (with variable names) using something like this method: Forms(FormVariableName).Controls(ControlVariableNames) in VBA?
 
Code:
Forms(FormVariableHere).Controls(SubformControlHere).Form.Controls(ControlOnSubformHere)

The SubformControlHere refers to the control on the main form that houses the subform (not the subform itself).
 

Users who are viewing this thread

Back
Top Bottom