Combo Box Wizard problem

  • Thread starter Francis Cunningham, Jr.
  • Start date
F

Francis Cunningham, Jr.

Selecting the Combo Box Wizard's third item ‘find a record…’ I’ve noticed
that the resulting combo box is actually sorting based on the Key column
(ContactID 1, ContactID 2 and so on in that order) which is hidden and not
the ‘Last Name that’s desired. This method as the last record entered being
the last item in the combo box pull down list. I created this combo box so we
may type in the customers Last Name and the resulting list is Last Name
alphabetic order (type in ‘Smith’ and all the Smiths appear) How can I make
the combo box sort based truly on the Last Name.
Frank
Happy Thanksgiving
 
K

Ken Snell \(MVP\)

Go into the RowSource property of the combo box, and change the field name
in the ORDER BY clause to the one on which you want the sorting to be done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top