Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box value
Message
De
20/06/2007 08:34:10
 
 
À
20/06/2007 08:29:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01234459
Message ID:
01234462
Vues:
12
>I have a combo box on my form. I set BoundColumn to 2. I am assigning RowSource in code to a cursor with two columns, second column is ID with integer values. In InteractiveChange this code: IF This.Value = 0 creates an error because combo's value is a char type. Shouldn't it be numeric?
>
>Thanks

Mark, I've come across this conundrum a few times. I think you may get round it by initialising the combo's value to 0 (either in code or via the props). Not sure but have a go.

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform