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

Value for adCmdUnknown

Status
Not open for further replies.

Bresart

Programmer
Feb 14, 2007
314
ES
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.
 
8

Object Browser?

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Thanks CautionMP.

I don't understand your question, can you explain it more?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top