Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fields in a listbox
Message
De
24/01/2004 13:22:54
 
 
À
24/01/2004 12:01:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00870195
Message ID:
00870289
Vues:
26
Hello Dragan.

You took my say :). And for the GETWORDNUM( This.RowSource, 2, '.' ) (with a period, not the comma) we may also use JUSTEXT(This.RowSource) - no need for Alltrim.

Hmmmm. What if you have the RowSOurce specified as "MyTable.MyField, Field2" ? This code in the list box's init():
messagebox( JUSTEXT(This.RowSource) )
Gives you "MyField, Field2". Probably not exactly what you have in mind unless, of course, you intend to use GETWORDNUM() to extract the fields from THIS string < s >.

You are, however, correct about the fact that the ALLTRIM is superfluous < s >.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform