Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote views and SPT
Message
From
11/04/2002 07:04:36
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00643210
Message ID:
00643623
Views:
8
Hi!

Use SQLCancel() before SQLDisconnect(). You might also want to check "Busy" property using SQLGetProp for connection handle - if it is .T., for sure SQLCancel() is needed before SQLDisconnect().



>Thank you very much Vlad, it was exactly what I needed !
>
>However, I still have a little problem : after doing this, I get an error when I try to close my connection using SQLDISCONNECT() saying that the call is not valid during a SQLEXEC() call (traduction from french). I only get the error when I reach the bottom of the grid (so all the records are fetched)...
>
>Any idea ?
>
>Thanks again !
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform