Referencing a control on a subform

snorf3

Registered User.
Local time
Today, 09:57
Joined
May 25, 2001
Messages
45
What is the syntax for referencing a field on a subform?

I know that for forms it is:

Forms![myForm]![myControl]

Would it be something like:

Forms![myForm]!Subforms![mySubform]![myControl]

Anyone who knows how to do this properly, your help is very much appreciated!
 
Try Forms![FormName]![SubFormName].Form![FieldName or ControlName]

"Forms!" and ".Form!" are literal.

Good luck,
Peter
 

Users who are viewing this thread

Back
Top Bottom