Sorting a Combo Box

  • Thread starter Thread starter Mike H.
  • Start date Start date
M

Mike H.

Now that I have figure out using the Not In List event to
add data to a table. How can I have the new data
automatically sorted A-Z for use in the combo box? I want
the data in the combo box to be sorted A-Z. At the moment
it is sorted in the order that I enter new data.

Thanks.

Mike
 
Now that I have figure out using the Not In List event to
add data to a table. How can I have the new data
automatically sorted A-Z for use in the combo box? I want
the data in the combo box to be sorted A-Z. At the moment
it is sorted in the order that I enter new data.

Thanks.

Mike

The Row Source for the combo box should be a query or an SQL
statement.
Sort the query as wanted, or if it is a SQL statement, add:
Order By [YourField];
at the end of the statement.
 
How can I have the new data
automatically sorted A-Z for use in the combo box? I want
the data in the combo box to be sorted A-Z. At the moment
it is sorted in the order that I enter new data.

Base the Combo, not on a Table, but on a Query sorted however you
like.
 

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

Similar Threads

Sorting Combo Boxes in a Form 2
Sort with Combo box 2
Combo Box Sorting 2
Combo Box Sorting and Selecting 4
Sorting a combo box 1
Sort combo box? 1
A-Z Sorting Combo 2
Combo Box and First Record 5

Back
Top