I have a program that creates a listview box (using the _GUICtrlListView_* UDFs) and queries an access database. Everytime the database is queried I use _GUICtrlListView_DeleteAllItems and than I add the new query. I have added _GUICtrlListView_SortItems($mainlist, GuiCtrlGetState($mainlist) to the end of each population function however it is sorting everything in reverse (ie if the user had the ListView sorted by last name A-Z the list will repopulate after refresh being sorted by last name Z-A).
Am I using this function right?
Thanks
Am I using this function right?
Thanks