Sorting Combo Box list

  • Thread starter Thread starter Guest
  • Start date Start date
Phil said:
How can I sort the information displayed in the Combo Box list?

Thanks.

Phil


In the table where the list is click on what field you want to sort by and
click the AZ or ZA.
or
In the query select Ascending or Descending in the "Sort:" box on which ever
field you want to sort by.

K Board
 
Sorry, I don't see it. The Row Source Type was already Table/Query. Is this
the same as Query? And where/how do I sort it. (I can do that with a query,
but I'm working with a form.)

Thanks.

Phil
 
Phil said:
Sorry, I don't see it. The Row Source Type was already Table/Query. Is this
the same as Query? And where/how do I sort it. (I can do that with a query,
but I'm working with a form.)

Thanks.

Phil
[quoted text clipped - 4 lines]
Use a query as the combo box rowsource.
Sort the query however you wish.


Assuming your list is in a table, write a query for the list you want to be
displayed in your combo box, name it something you will recognize as being
for that particular list and in Properties, Row Source, select that query
from the list contained in the drop down arrow.

While making your query from the table where your list is sort on what ever
field you want.

K Board
 
Sorry, I don't see it. The Row Source Type was already Table/Query. Is this
the same as Query? And where/how do I sort it. (I can do that with a query,
but I'm working with a form.)

Thanks.

Phil

That's fine. The RowSourceType is supposed to be Table/Query.
It's the RowSource you have to change.
Click on the RowSource property line.
Click on the button with the 3 dots on that line.
If your RowSource is already a query the query grid will appear. On
the column that you wish to sort on, set the Sort row of that column
to either Ascending or Descending.
Save the changes.

If the RowSource is a Table, then after you click on the 3 dot button,
create a query (when prompted) and sort the query as I've mentioned
above.
Save the changes.
 
Thanks guys. It works.

Phil

fredg said:
That's fine. The RowSourceType is supposed to be Table/Query.
It's the RowSource you have to change.
Click on the RowSource property line.
Click on the button with the 3 dots on that line.
If your RowSource is already a query the query grid will appear. On
the column that you wish to sort on, set the Sort row of that column
to either Ascending or Descending.
Save the changes.

If the RowSource is a Table, then after you click on the 3 dot button,
create a query (when prompted) and sort the query as I've mentioned
above.
Save the changes.
 

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

Back
Top