Hi, i have the code:
Dim rst As Object 'ADODB.Recordset
Set rst = CreateObject("ADODB.Recordset")
rst.Open strQuery, CurrentProject.Connection, _
adOpenStatic, , adCmdUnknown
For avoiding errors the adXXX constants must be replaced by its true value, 3 for adOpenStatic, but which for adCmdUnknown?
Thanks for any help given.
Dim rst As Object 'ADODB.Recordset
Set rst = CreateObject("ADODB.Recordset")
rst.Open strQuery, CurrentProject.Connection, _
adOpenStatic, , adCmdUnknown
For avoiding errors the adXXX constants must be replaced by its true value, 3 for adOpenStatic, but which for adCmdUnknown?
Thanks for any help given.