Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox adds decimals to value
Message
From
25/03/2003 08:01:20
 
 
To
25/03/2003 06:21:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00768908
Message ID:
00769637
Views:
27
>You have Combobox.controlSource='Integer Field/Property/Variable' ?
>Yes. It is a property.
>
>>You have Initialize Combobox.Value='Integer value' ?
>Yes. It does fine when I say Thisform.AddProperty('myproperty',0). The problem only appears later when it picks a different value from rowsource.
>
>I gave up and went with the This.Value = INT(This.Value) in interactivechange. But it is puzzling.
>
>Thanks for your help.

This isn't going to help you much, but I've been trying this all morning, and I can't make the combobox show 2 decimals when the rowsource is an integer pk, and the form property is initialized to an integer. Not even if I set it to 'dropdown combo' and set the display format to '9.99'.

Are you sure there isn't something else in maybe the combo valid, or somewhere that is causing this?

Alan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform