Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery ?
Message
 
À
30/07/2010 15:31:39
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01474625
Message ID:
01474661
Vues:
34
This is a small set of data, so the Safe Select option seems to be the best.

Thanks!

>The "safe select" is the easiest and best way if the amount of data is small to moderate using your current setup. If you have huge data sizes in the gridcursor, the double reading will create a lag.

>Cursoradapter.Refresh will allow you to keep the grid - allows any data size, but perhaps some retooling is needed. You might get away with slapping your current SQL into .SelectCmd and fill a few other properties dynamically.

>If you need to keep your SQL with huge data sets, unbind the grid and rebind later, taking care to also save formating properties of the grid columns.
>There are some issues with grid code - works best if no code is in the grid class.
>And rethink your logic, as SQL reading large sets should be avoided <g>

>regards

>thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform