Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UDF as control source for grid column
Message
De
21/05/2001 17:15:16
Jill Derickson
Software Specialties
Saipan, CNMI
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00507675
Message ID:
00509691
Vues:
19
Thom,

Good one! thanks for that....

>If instead you did something like:
>
>SELECT APN AS Status, SPACE(25) AS FullStatus ;
>FROM MyTable ;
>GROUP BY Status ;
>INTO TABLE ShowStatus
>
>UPDATE ShowStatus ;
>SET FullStatus = GetDesc(ShowStatus.Status, "APN")
>
>SELECT MyTable.*, ShowStatus.FullStatus ;
>FROM MyTable, ShowStatus ;
>WHERE MyTable.APN = ShowStatus.Status ;
>INTO CURSOR Disp2Grid
>
>Then GetDesc() will fire less than a half dozen times. Additionally, you can optimize the queries
>for better performance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform