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!

Open Control SQL via VBA

Status
Not open for further replies.

agfon

Programmer
Mar 25, 2005
38
0
0
US
I have some VBA which identifies all of my dbs QueryDefs - including the temporary "~sq_" type queries. Knowing the form and control that a ~sq_c is associated with, is there a way of opening the control's row source via vba?

-agfon
 
What do you mean by

opening the control's row source
 
agfon,

PWise asks a very good question here.

Can you please provide more information, if you are looking for help?

I'm assuming that you are wanting to access, via VBA, either:
1. The list of queries' names OR
2. The data for the current selected query...

Is either of these correct? Whatever the case, please provide as much detail going forward, so that others here can better answer your question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top