Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Add Records To my Combo Box within the Form?

Status
Not open for further replies.

MY3MCS

Technical User
Apr 17, 2003
49
0
0
GB
Hello There:

Is it possible for me to add new records to my combobox when I want to add new one? I want to include the add item mode on the same form. Thanks a lot.

 
Simple. Use an item in your list box to trigger your routine that will popup a form where the user enters the details of the new record. For example: Your Combox would have the following items:

USA
JAPAN
CANADA
-Add Country-

In your combo box interactivechange test for the selection for "-Add Country-". If true then call the input form for the new item fill it. close form then refresh the contents of your combo box.
 
Hey Castor2003:

I think i got it. Thanks a lot.

 
MY3MCS,

See: faq184-1792

Slighthaze = NULL

[ul][li]FAQ184-2483
An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top