By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,477 Members | 1,384 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,477 IT Pros & Developers. It's quick & easy.

How to add data in combobox using command button?

100+
P: 180
I have form name (home) it has a combobox its row source are name of employees. I want to put a command button add employee, that when i click it, msgbox or textbox will appear and you can add employee name in combo box. Any ideas to do these thing are highly appreciated!
Jan 3 '12 #1
Share this Question
Share on Google+
2 Replies


100+
P: 759
I think you no need to have another button for that.
Try to Manage the task under NotInList event for combo box.
I never do that but I think that must be doable.

Another approach is to design a form only to add employes (I advice you to do that).
Jan 3 '12 #2

NeoPa
Expert Mod 15k+
P: 31,709
Unless your Combo Box is Value-sourced, that makes no sense. Data isn't otherwise stored in the Combo Box, but only shown there from somewhere else.

You give very little information and have not shown any attempt to do this yourself. Show us what you've done already before we start to help you. You should know how it works by now.
Jan 3 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.