Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do FORM vs. createobject()
Message
De
16/12/2003 09:59:17
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00859255
Message ID:
00859470
Vues:
25
<snip>

>Terry,
>Typically, the control source for the grid (or listbox) would be a cursor.
>So, I would have to loop through the cursor and add the rows to the listbox, correct? That could introduce a delay in the object appearing with data, correct?
>The idea of sorting without indexing is definately attractive.

Hi Allan

It's been my experience that I often have to grab columns from multiple tables for the user to sort on. That is not necessarily easy without using SQL.

You should compare using SQL to create a cursor, and then populating the listview, versus indexing the cursor and binding a grid to that cursor. I'd guess a few index commands will be faster than the looping code that populates the listview.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform