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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA: Query associated with a Form

Status
Not open for further replies.

Celsoft

Programmer
Aug 27, 2008
17
IE
Simple question (I think) for VBA expert!

I have several queries (similar but different) and want to associate them ALL with the same form.

i.e. under different circumstances I want to associate qry1/qry2/qry3 with frm1.

What syntax ? Thanks in advance.
 
Forms!frm1.RecordSource = "qry1"

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top