Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Q190267 revisited... still there?
Message
De
10/10/2007 08:31:45
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
09/10/2007 20:50:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01259857
Message ID:
01259960
Vues:
14
>>This is an old bug, from VFP5 and 6; Q190267 was the KB number assigned to it.
>
>>I somehow thought it was fixed - but it wasn't. I have a bunch of combos bound to two column arrays where some of the values are negative or zero (bound column is 2, column 1 contains descriptions, .bound=.t.). No matter what I do, the displayvalue remains blank for .value<=0... which isn't exactly helping.
>
>As a work-around, what if you use transform() to convert to string the second column of the array? Then add a third column that has the numeric value and use it else where (or bound the third column and convert it to strings).

Could be much simpler - unbind the combo, then handle the binding manually. Which is a PITA, but not that hard. Combos and listboxes convert everything into strings in the requery(), where they copy the rowsource into their internal array.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform