Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box insert problems
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combo box insert problems
Miscellaneous
Thread ID:
00042805
Message ID:
00042805
Views:
84
I am using VFP 3.0 for Windows.

I am having a strange problem with a combo box. I allow users to choose a value from a combox and the choice is stored directly in a field of a table (the field is specified as the control source). Nothing fancy. One of the values in the combo box is "*OTHER". If this is chosen, a form pops up that allows the users to type in the value they want, and this is stored directly into the field of the table (using the "replace" command).

This works fine for a combo box that is filled using an array, but has problems when the combo box is filled using select statement directly. In both cases the correct value gets put into the field, but when using the "select", the value won't display if it was input by choosing "*OTHER" (which means the value isn't one of the values returned by the select statement).

It seems that if the field that is the control source of the combobox ever has a value that is not one of the values in the select statement ,the value will not display.

Can anyone help?
Next
Reply
Map
View

Click here to load this message in the networking platform