Referencing a control on a subform (1 Viewer)

snorf3

Registered User.
Local time
Today, 00:19
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!
 

Peter Paul

Registered User.
Local time
Today, 00:19
Joined
Jan 1, 2000
Messages
82
Try Forms![FormName]![SubFormName].Form![FieldName or ControlName]

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

Good luck,
Peter
 

Users who are viewing this thread

Top Bottom