Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print ' as %' in SQL
Message
De
02/12/2008 16:55:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01364577
Message ID:
01365239
Vues:
9
>This is client's request that grid should say % as the field name. It picks what ever field name we gave in the sql

Can you define the field name as something wierd, then iterate through the grid columns and set the header for that column? Something like the following pseudo-code
SELECT ........, % field AS _p_c_t, ............. FROM etc. INTO CURSOR myCursor
FOR EACH column IN myGrid
     IF column.controlsource = "_p_c_t"
          column.header.caption = "%"
    ENDIF
ENDFOR
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform