Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reccount()
Message
De
13/01/2004 20:13:18
 
 
À
13/01/2004 19:41:33
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00866552
Message ID:
00866559
Vues:
19
>When we open a Fox table, we instantly know the total records in the table.
>
>When I open a SQL remote view it can take several minutes to know how many records there are.
>
>How can I determine the number of records in an SQL remote view without waiting for the entire file to load?


You can't. A view in VFP is a SQL query. You don't know the number of records in the result set until you execute the query. Same with SPT. You can fetch in stages if the thing is big and slow, and start showing each batch as it comes, but I don't think you can know the total number until the query is processed.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform