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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sorting combo boxs

Status
Not open for further replies.

Onslaughtdave

Programmer
Jan 24, 2005
59
CA
Hi,

Is there a way to sort the info automatically in a combo box. Yes i know i can sort the table/query that the combo boxes displays ... but what happens when enter a new record into that table, does it automatically re-sort itself or what?

thanks,

dave
 
Add an Order By clause in the SQL instruction of the RecordSource property of the combo.
The combo values will be sorted on each Requery.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top