Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Nov 2002
    Monroeville, Pennsylvania, USA
    Thanked 0 Times in 0 Posts

    Query question (2000)

    Is it possible to use a combo box when running a query? I'M using the format "LIKE [Enter the Name of the unit]" to pose a query and I would like to be able to drop down pre set choices as in a combo box, to choose from.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 31 Times in 31 Posts

    Re: Query question (2000)

    No, you would have to do that on a form. You can use controls on a form as parameters in a query. Instead of [Enter the Name of the Unit]. you could have [Forms]![frmInput]![cboUnitNames] where frmInput is the name of the form and cboUnitNames the name of the combo box presenting the list of names to choose from.

    Note: using LIKE without a wildcard character is not very useful.

Posting Permissions

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