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

Sorting Column Head in a listbox

Status
Not open for further replies.

nim180

IS-IT--Management
Aug 11, 2005
161
AU
Hi Everyone,

I have a form with 2 textboxes, a search button and a listbox. The user inputs information into the textbox and clicks the Search button which in turn populates the listbox with the results. All of this works fine but i was hoping someone could help me with the following. I have the setting 'column head' set as "YES" in the listbox. What i would like to happen is, if the user clicks on one of the column heads (There are 8 columns) it will sort the results in ascending order and descending if click twice. Is this possible to do?

Thank you for your help.

Nim
 
Hi everyone,

Got it sorted with abit of coding.

nim
 
It is always good to have the answer posted. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top