Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG in SQLExecute() in a COM
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00814269
Message ID:
00814700
Views:
10
Sergey, You need to SET ESCAPE OFF. Who the ....... thought of that! That will stop the GUI from popping it's ugly head in a VFP COM SQLExec() call.

__Stephen

>Stephen,
>
>What kind of allert exactly?
>
>>Thanks Serg, but it's not an error. The same code run through a class-less PRG runs fine. It's not an error, but an alert from VFP that data is comming. I'm sure it's a legacy from the PII 233 days.
>>
>>__Stephen
>>
>>>Try to supress ODBC error dialog also and use AERROR() to retrieve the error info.
= (SQLSETPROP(0,'DispWarnings',.F.)  && No error dialog
>>>
Previous
Reply
Map
View

Click here to load this message in the networking platform