Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLEXEC and Shared Connection Problems
Message
 
 
To
11/11/2004 07:05:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
00960314
Message ID:
00960351
Views:
9
Hi Fabio, thanks for the reply,

unfortunatley I do need to support simultaneous Fetching of the records set , so I can't set this property to false.

The following code is the real problem here ;

* begin to download the large recordset
USE MyRemoteView
* now get a handle onto the shared connection
lnhandle=SQLCONNECT('Connection1',.T.)
* test to see if the shared connection is busy, it should be!
llBusy = SQLGETPROP(lnhandle,"ConnectBusy")

in that the statement handle returned from the sqlconnect call is on the same connection handle as the remote view.

However when I use this statement handle the busy status is false when it should be true.

Any further ideas wouldbe appreciated.

Thanks Bernard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform