Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP creating a seperate session for each table
Message
From
27/07/1999 15:24:34
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
27/07/1999 13:04:39
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00246649
Message ID:
00246820
Views:
15
>Well, I set all the remote views to share connection, and now my screen will not run, "connection busy" 1541 error. Any other suggestions?


The default on remote views is to retrieve 100 records in a batch (unless you set to query to retrieve all records). What happens is your select is retrieving more than 100 records but processing has moved on to the next cursor request on the connection before the previous one has finished. Make sure your remote views are set to retrieve all records.

This implies that your result sets are larger than necessary. So, you can share the connection, but each request must completely process (syncronously) before the connection can be used again.

In your opentables, a remote view is trying to open before the connection is free (because the previous view is returning more than 100 records). This is handy when populating a grid and you don't want to wait for all the records to be retrieved while browsing. Not so good when loading multiple tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform