This should be a simple task, however I am getting this error everytime I attempt to delete the records chosen by the recordset:
Runtime error: "Object or provider is not capable of performing requested operation"
We are running a Sybase11 SQL server.
Here is the majority of my code:
---------------------------------
Dim conn As Connection
Set conn = New ADODB.Connection
conn.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Mode=ReadWrite;Extended Properties=DSN=BHSI;SRVR=BHSI;DB=test;UID=zz;PWD=zztop;"
conn.Open
---------------------------------
SQLdelete.Open "(sql statement), , conn, , , adCmdText"
If Not SQLdelete.EOF Then
SQLdelete.Delete
End If
SQLdelete.Close
----------------------------------
THANKS for any help..
Runtime error: "Object or provider is not capable of performing requested operation"
We are running a Sybase11 SQL server.
Here is the majority of my code:
---------------------------------
Dim conn As Connection
Set conn = New ADODB.Connection
conn.ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;Mode=ReadWrite;Extended Properties=DSN=BHSI;SRVR=BHSI;DB=test;UID=zz;PWD=zztop;"
conn.Open
---------------------------------
SQLdelete.Open "(sql statement), , conn, , , adCmdText"
If Not SQLdelete.EOF Then
SQLdelete.Delete
End If
SQLdelete.Close
----------------------------------
THANKS for any help..