Sorting by columnheaders in listviews
This allows a user to sort the contents of a listview by clicking on a column header in report-mode. Clicking again will sort descending. Original Author: Adam Hansen Assumptions This assumes that a ListView named ‘ListView1’ exists on a form, and that code exists to put values into it. Also, the ListView style-property must be ‘report’.Paste the code into… Read More »