Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox value using empty string
Message
From
26/02/2009 14:40:12
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Application:
Desktop
Miscellaneous
Thread ID:
01384366
Message ID:
01384378
Views:
59
>>I'm setting the properties of a dropdown list as follows:
>>
>>BoundCOlumn: 2
>>BoundTo: .T.
>>RowSource: None, ,E-mail,E,Paper,P,Other,O
>>RowSourceType: 1-Value
>>
>>When I run the form, I set the dropdown list's value property to " " expecting to see the word "None". Instead I see an empty/blank selection. If I dropdown the list, I see the four choices plus an additional empty/blank value.
>>
>>If I set the value to "P", the dropdown will display "Paper". What do I need to do in this case to get the value to show "None"?
>>
>>TIA,
>>Mike
>
>Did you try using DisplayValue?



Thanks, Naomi.

That works, but why doesn't the Value property not work if I set it to an empty string ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform