I hate it when I search for something in the knowledge base (like this) and it DOES NOT SHOW UP :( - (i used only two words "negative" and "combobox" - and I thought I tried it with just "combo" too).
The only problem is - I'm not trying to display the negative value, I have two columns in the list. But I guess with the bound column returning a negative value ...
Oh - well - that messes up what I had planned (-1 for old system converted lookup code).
Thanks,
James
>Hi James.
>
>
Problem: When I select an item from a list in a dropdown combobox - the display value goes blank. But, this only happens when the value to be returned from the combobox is a negative value.>
>This one is a known issue. Check out MSDN:
>
>PRB: Negative Numbers Do Not Display in a Combo Box
>
>Q190267
>
>
>--------------------------------------------------------------------------------
>The information in this article applies to:
>
>Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a, 6.0
>
>--------------------------------------------------------------------------------
>
>
>SYMPTOMS
>If a combo box has the RowSourceType set to SQL Statement and the BoundTo property is set to true, negative numeric values do not display in the combo box.
=======================
J Robert Jernigan
Calabasas, CA USA
jrjernigan@hotmail.com"To err is human ... I should know, I get to show my humanity everyday!" jrj
"I just love the internet - it takes this great big planet and makes it smaller. Now, why can't we all just get along?" jrj