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

ADO Equivilent to DAO CreateQueryDef method?

Status
Not open for further replies.

jgoodman00

Programmer
Joined
Jan 23, 2001
Messages
1,510
I have the following code:
Dim db as DAO.Database
Dim qdf as DAO.QueryDef
Set db = CurrentDb
Set qdf = db.CreateQueryDef(strName, Me.txtSQL)


I want to accomplish the same, but in ADO. How is this done?? James Goodman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top