|
-
Jan 4th, 2000, 06:26 AM
#1
Thread Starter
New Member
I am trying to execute this code below:
Connection object has already been established and connected.
DIM adoRS as ADODB.Recordset
Set adoRS = New ADODB.Recordset
Set adoRS = adoConnectToSQL.Execute("Select count(*) from tblTempTableBCP",,adcmdtext)
I was reading a book on ADO and I am suppose to be able to do this. But it does not work. I get error 424 Object Required
-
Jan 4th, 2000, 02:02 PM
#2
Guru
assuming adoConnectToSQL is a ADO connection object that you have declared and connected, remove this line: Set adoRS = New ADODB.Recordset and it should work
Tom
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|