Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connectivity Error: Invalid cursor state
Message
From
04/04/2005 08:02:56
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01001052
Message ID:
01001163
Views:
25
>I know you found your solution, but I encountered this error recently and it was because my SQLGETPROP(0, 'Transactions') was somehow set to 0. When I set it back to 1 (default), I no longer had the problem. The zero setting was behaving like setting 2 for manual transactions. So I had to issue either a SQLCOMMIT() or SQLROLLBACK(). Just a guess, but using TABLE buffering may also help.

On the mark, Mark.

In this case connection 0 has not been defined and SQLGETPROP(0,'Transactions') is 0. I created a connection and saved its number in a variable. SQLGETPROP(1,'Transactions')=1, the default. However, I later reset the variable with the connection number back to 0 !

Thanks,

Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform