A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sorting a drop down list



 
 
Thread Tools Display Modes
  #1  
Old August 24th, 2004, 09:34 PM
external usenet poster
 
Posts: n/a
Default 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  
Old August 24th, 2004, 11:17 PM
Albert D. Kallal
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 10:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.