General information
Category:
Forms & Form designer
>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.
You didn't say what the RowSource was, but I do this easily with a combobox set to 5 - Array, a two-column array [Monthly;M;Quarterly;Q;SemiAnnual;S;
Annual;A] and BoundColumn set to 2. Set the columnwidth to ##,0.
Chris.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only