Florida Doc
Weaksauce
- Joined
- Sep 9, 2004
- Messages
- 92
Hello,
Does anyone know how to access the SQL of a stored query using ADO?
The DAO way to do it is:
Dim DB As DAO.Database
Dim strSQL As String
Set DB = CurrentDB
DB.QueryDefs("Some_Query").SQL = strSQL
DB.Close
What's the ADO equivalent of this?
Thanks!
Does anyone know how to access the SQL of a stored query using ADO?
The DAO way to do it is:
Dim DB As DAO.Database
Dim strSQL As String
Set DB = CurrentDB
DB.QueryDefs("Some_Query").SQL = strSQL
DB.Close
What's the ADO equivalent of this?
Thanks!