Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you add to a COMBO BOX?
Message
From
30/10/1997 12:12:03
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00057406
Message ID:
00057429
Views:
38
>>>>OK - I am really getting into vfp50. I would like to add to my COMBO BOX.
>>>>I want to do this with APPEND BLANK, but it is not working. What is the
>>>>best way to add to a COMBO when the COMBO displays a field from a table.
>>>>thanks.. :)
>>>
>>>
>>>Hi Robert,
>>>
>>>Add the new record to the table using APPEND BLANK/REPLACE or INSERT-SQL. If the ComboBox is based on a field then use the ComboBox's .Refresh() method, if it based on SQL the use the .Requery() method.
>>
>>Hi Colin, and thanks for anwering...
>>My ComboBox is not adding the value entered to the field it represents.
>>I have the RowSource and the ControlSource set. any ideas?
>>.. :)
>
>Robert,
>
>Are you trying to allow the user to enter a value in the textbox area of the combobox and if what they typed doesn't already exist in the combobox add it to the combobox choices?

Colin,
yes - I want to treat the combo like a field.
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform