Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Q190267 revisited... still there?
Message
From
10/10/2007 08:31:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/10/2007 20:50:22
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01259857
Message ID:
01259960
Views:
15
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform