Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Reference Subform

Status
Not open for further replies.

swambast

Technical User
Sep 25, 2000
2
US
How do I reference a subform and it's properties? For Example, my Main Form is called "MainSupport" and my subform is called "Employees Subform." How would I reference in VBA the .filter property for the subform "Employees Subform" located in the "MainSupport" form. In addition, how would I reference a field within that same subform (e.g., "StatusID"). Thanks so much for your assistance!
 
Sorry, one other note: The subform ("Employees Subform") is located on the main form ("MainSupport") under the tab named "Page27." I can't figure out how the hell-o to reference this subform...!
 
I think you have to do something like:
[Employees Subform]![StatusID].filter

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top