How to add data in combobox using command button?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eneyardi
    New Member
    • Jul 2010
    • 180

    How to add data in combobox using command button?

    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!
  • Mihail
    Contributor
    • Apr 2011
    • 759

    #2
    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).

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32663

      #3
      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.

      Comment

      Working...