Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Boxes
Message
 
To
06/11/2002 14:16:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00719476
Message ID:
00719496
Views:
12
Hi,

Try the folliwing settings of the combobox:
BoundColumn = 2
RowSource = 'Monthly,M,QuarterlyQ,Semi-Annual,S,Annual,A'
RowSourceType = 'Value'

This will save the value in the second column in to the
field/memory variable specified in the ControlSource property.

HTH,
Arriyel

>I have a combo box named 'freq' with hand entered values of:
>
>'Monthly' for a field name freqtaxpay which stores the value 'M'
>'Quarterly' for a field name freqtaxpay which stores the value 'Q'
>'Semi-Annual' for a field name freqtaxpay which stores the value 'S'
>'Annual' for a field name freqtaxpay which stores the value 'A'
>
>The combo box displays the correct value when navigating through the file. However, if I want to change the value in the combo box, how can I update the field name with the correct 1 character value without issuing a replace command? My hope is to have it saved after selecting the Save button which runs the standard code (plus several additional verifications) used in the base class (similar to how a m. was saved in 2.6). Is there any way to do this? Any help is appreciated.
>
>-Missy
Speak using soft and sweet words in case you have to eat them later.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform