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

Sort listbox values??

Status
Not open for further replies.

NRK

Technical User
Feb 13, 2002
116
US
As to be expected, I always seem to need the opposite of what Microsoft thinks I need.

I have a listbox which filters a report (on Cmd button click). This listbox is populated from another listbox, which gets its contents based on a combo box selection.

When adding records from the first listbox to the second listbox (the one that runs the filter for the report), the records are automatically sorted alphabetically. Unfortunately, I do not want that. I want the records to be moved into the listbox in the order in which it happens.

Does anyone know how to define the sort for a listbox?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top