Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field Caption
Message
 
 
À
14/05/2009 15:26:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01399936
Message ID:
01399942
Vues:
103
This message has been marked as the solution to the initial question of the thread.
See Re: Memo field not displaying in Thread #1022989 Message #1023003

e.g.
.columns(x).header1.caption = DBGETPROP("poItems.desc","FIELD","CAPTION")


>I have a table in a database on which I have set the caption to a couple of fields. If I create a grid and set that table as the record source the column headers reflect the caption.
>
>If I do something like
>SELECT fieldlist FROM myTable etc.
>the grid column header becomes the field name rather than the caption.
>
>I expected to find some function that would return the caption somewhere, but I wasn't able to find one.
>
>I know that the caption is stored in the Property field of the DBC and I know how to get to that value. What I haven't figured out is how to parse that field to extract the caption.
>
>So.................
>
>Any information on what function I missed, or how to parse the Property field will be greatly appreciated.
>
>Thanks to all............Rich
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform