General information
Category:
COM/DCOM and OLE Automation
Title:
Erorr using OLEDB driver
hi i'm accessing an OLEDB source using an OLEDB driver and am receiving an error. it happens if i run the app normally, but doesn't happen if i step through with debugger.
my code is:
cExecString="SELECT count(*) FROM adoption where addiscdate >= " + adsdate(CTOD(thisform.txtGesamt.Value))
oRS.Open(cExecString, oCon)
i receive this error:
OLE IDispatch exception code 0 from ADODB.Recordset: Operation has been cancelled by user...
cmdGesamt
Error: 1429
Method: Click
Line: 9
oRS.Open(cExecString, oCon)
The operation certainly isn't cancelled by anyone and i can't understand why it works when i step through debugger.
any ideas anyone?
thanks in advance!
barry
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only