IchBistTod Posted March 24, 2010 Share Posted March 24, 2010 Okay I have a list view that calls of a sqlite database. One problem. The SQLite database has all the values encrypted so the sort function makes no difference for the order data is returned. ORDER BY DrugName DESC, LotExpiration DESC, VendingCompany DESC, LotNumber DESC; I know that we can retrieve data from a list view in two arrays, an array of the number of rows,and an array fo data in each row. BUT how can I sort this data to replicate the sql sorting shown above? [center][/center][center]=][u][/u][/center][center][/center] Link to comment Share on other sites More sharing options...
Nurav Posted March 24, 2010 Share Posted March 24, 2010 $msg = GUIGetMsg() Select Case $msg = $listview _GUICtrlListView_RegisterSortCallBack($listview) _GUICtrlListView_SortItems(GUICtrlGetHandle($listview), GUICtrlGetState($listview)) _GUICtrlListView_UnRegisterSortCallBack($listview) Endselect Link to comment Share on other sites More sharing options...
IchBistTod Posted March 31, 2010 Author Share Posted March 31, 2010 Thank you. [center][/center][center]=][u][/u][/center][center][/center] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now