If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Sorting a drop down list
I have a drop down list on my form that includes
operatorid,lastname and first name. I would like to have the drop down list be sorted by last name even though the operatorid is the unique field. How can I show the combo box on the form in alphbetical order by last name. Help, Thanks, Barb |
#2
|
|||
|
|||
Simply bring up the combo box in design view, and look at the row source for
the combo box. You can usually click on the [...] button, and the sql for the combo box will be brought up in the query designer...you can then sort by ANY field in the table...but not have to display the query. So, either change the above, or simply builder a query with the sort order set...and use that for the combo box... And, hopefully, you are not using the table lookup feature.....you can read about avoiding this he http://www.mvps.org/access/tencommandments.htm -- Albert D. Kallal (Access MVP) Edmonton, Alberta Canada http://www.attcanada.net/~kallal.msn |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
change drop down list contents based upon value from another list | A P Cummings | General Discussion | 1 | August 2nd, 2004 08:16 PM |
Filter macro using criteria in a list (not autofilter drop down list) | Jeff Smith | Worksheet Functions | 0 | July 29th, 2004 10:06 PM |
synchronizing form and list box | Deb Smith | Using Forms | 8 | June 21st, 2004 08:15 PM |
Field list and Sorting toolbars are not working | Jenny | Using Forms | 0 | June 11th, 2004 08:48 PM |
Drop down box list | singkit | Worksheet Functions | 4 | March 29th, 2004 03:51 PM |