Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox value using empty string
Message
From
26/02/2009 14:16:46
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Combobox value using empty string
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Application:
Desktop
Miscellaneous
Thread ID:
01384366
Message ID:
01384366
Views:
107
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
Next
Reply
Map
View

Click here to load this message in the networking platform