Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Erorr using OLEDB driver
Message
From
14/05/2004 09:09:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Erorr using OLEDB driver
Miscellaneous
Thread ID:
00904037
Message ID:
00904037
Views:
71
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
Map
View

Click here to load this message in the networking platform