Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric data in a ListBox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01502526
Message ID:
01502531
Vues:
47
I have found that when binding a listbox to a numeric value, and then later retrieving that value, it is always safest to use:

lnValue=val(transform(thisform.cboList.value))

as sometimes the listbox can return a numeric value, and sometimes it can return a character and I got tired of trying to remember when and what caused the difference.
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform