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!

Value for adCmdUnknown

Status
Not open for further replies.

Bresart

Programmer
Joined
Feb 14, 2007
Messages
314
Location
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?
 
In a project that has a reference to ADO, you could type in the Immediate window
Code:
?adCmdUnknown


Joe Schwarz
Custom Software Developer
 
Thanks JoeAtWork.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top