Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ordering Combo Box in Alphbetical Order

Status
Not open for further replies.

Harr777

Programmer
Sep 25, 2003
71
US
I can't figure out how to get the items in a drop-down both in alphbatical order. Does anyone now how to do that?
Thanks.
 
Click into the rowsource property and amend the query by clicking the Build button(...) to the right.
 
I got that far, but I can't get it to produce the list in alph. order. Went into datasheet view, ordered the column (from a-z) and saved the changes...doesn't work. When I open form it doesn't relfect the changes. Maybe in I change the SQL code itself. Here is the SQL code;

SELECT tblLocations.LocName, tblLocations.RemoveDate
FROM tblLocations
WHERE (((tblLocations.RemoveDate) Is Null));

but I'm not sure how to specify that in the query.
 
I got it, in the query design view I set the sort property to Ascending. It saved fine.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top