Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Waiting for the View
Message
 
À
13/11/1998 15:58:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00157539
Message ID:
00157550
Vues:
19
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform