Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Waiting for the View
Message
 
To
13/11/1998 15:58:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00157539
Message ID:
00157550
Views:
18
>I have some remote views that I want all the data so show. The problem is that I open the views with "NoDataOnLoad". I do a REQUERY on them, but the code goes past it and when I want to use the data it is not done loading. How can I get the program to wait untill the data is loaded?
>
>Charles
It waits, unless you have asynchronous connection type and/or fetch as needed
option turned on. If you are using asynchronous connection type just loop until
all records retrieved, if you want this type of functionality.

If it is a synchronous connection - just set "number of records to fetch at a time" to "all" in query- advanced options menu.

If you don't want to fetch all records create a loop with "ConnectBusy" property check. As soon as it becomes .f. - proceed further.
Previous
Reply
Map
View

Click here to load this message in the networking platform