Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection too busy issues
Message
From
20/01/2004 16:11:32
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
20/01/2004 10:37:33
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00868540
Message ID:
00868759
Views:
12
Greg

Agreed, your options are to pull all records or to use a separate connection for the view that needs rows in batches so you can still requery() other views with a shared connection.

If you need to requery() the culprit view when it has >100 records, you can SELECT the RV and USE it again rather than doing a REQUERY().

Finally, is it possible to add a TOP 100 clause and structure your query so it has a
where OrderByValue > lcOrderByValueOfTopRowInCurrentSelect or OrderByValue < lcOrderByValueOfBottomRowInCurrentSelect"
clause? Then if you scroll to eof()/bof() in the current 100 records, you can just do a requery() to get the next batch.

Regards

j.R
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Reply
Map
View

Click here to load this message in the networking platform