P
Pete
I have a routine written in DAO that I want to convert to ADO. Please
look at the following code and provide some assistance.
Dim daoQueryDef As DAO.QueryDef
Set daoQueryDef = CurrentDb.QueryDefs("qryDynamicSQL")
daoQueryDef.SQL = Me.QueryString.Value
DoCmd.OpenQuery "qryDynamicSQL", acViewNormal, acReadOnly
Me.QueryString.value contains the SQL string to be displayed
qryDynamicSQL is a skeleton query.
The results of the above will display a table showing the results of
the SQL string.
look at the following code and provide some assistance.
Dim daoQueryDef As DAO.QueryDef
Set daoQueryDef = CurrentDb.QueryDefs("qryDynamicSQL")
daoQueryDef.SQL = Me.QueryString.Value
DoCmd.OpenQuery "qryDynamicSQL", acViewNormal, acReadOnly
Me.QueryString.value contains the SQL string to be displayed
qryDynamicSQL is a skeleton query.
The results of the above will display a table showing the results of
the SQL string.