Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Posts
    23

    Smile Unanswered: Combo box with a command button

    Hi all,

    OK here's what I want to do. I have a form with a combo box with several entries in the combo box. I want to create a command button that will look to the combo box and open a form dependant on what is highlighted in the combo box. I also want to do this to run a query dependant on what is highlighted in the combo box. Can someone help me?

    Thanks,
    Johnny

  2. #2
    Join Date
    Aug 2002
    Location
    Québec, Canada
    Posts
    109
    You can access the value of the text in the combobox with .Value property.

    You can also use .ListIndex and .ItemData to see the current selection.

    Are you familiar with VBA? Do you need an example?

    JefB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •