OrderListBox.mdb (intermediate) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 29 Jul 2008 at 11:06pm |
Please consider donating $1 per sample downloaded, find out why here.
OrderListBox.mdb This sample shows how to make a listbox reorder by clicking on the column header. It also shows how to use the same button to sort ASC or DESC
The column headers are acutally buttons placed above the columns in the listbox, and code recreates the rowsource for the listbox based on which button you click. The caption is changed depending on which button is clicked, thus showing which column is being sorted and in which order. To use, chose a client in the Client combo, then click the two headers to re-order the list. |
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |