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!

Unsort listbox

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?

Any advice would be greatly appreciated.
 
You are correct on both counts. That is how I have it set currently. Thanks for the advice.
 
I was able to resolve this issue...if anyone wants to see the final solution, let me know.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top