View Full Version : Referencing a control on a subform


snorf3
06-27-2001, 09:35 AM
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
06-27-2001, 09:40 AM
Try Forms![FormName]![SubFormName].Form![FieldName or ControlName]

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

Good luck,
Peter