|
-
Jun 10th, 2003, 02:11 PM
#1
Thread Starter
Lively Member
Record Sorting
Interesting question here.....I am having difficulty with sorting records either in a multi-column listbox or listview.
When I use the listbox method, it automatically sorts column 1 then two, three and four.
When I use the listview method, it sorts column1 and column2 will then go in order that the record was place into the object with latest record being first. (see examples as I might have confused some people with that description).
Examples: ListBox (4 columns)
100.6, A Subject, DataC, DataD
100.2, A Subject, DataC, DataD
100.2, B Subject, DataC, DataD
100.2, C Subject, DataC, DataD
100.1, C Subject, DataC, DataD
100.0, B Subject, DataC, DataD
ListView:
100.6, A Subject, DataC, DataD
100.2, C Subject, DataC, DataD
100.2, B Subject, DataC, DataD
100.2, A Subject, DataC, DataD
100.1, C Subject, DataC, DataD
100.0, B Subject, DataC, DataD
The catch is for data that is the same (i.e the temps). I need it to record in a first come first served basis. Order of testing went A, C, B
I.E.....
100.6, Subject A, DataC, DataD
100.2, Subject A, DataC, DataD
100.2, Subject C, DataC, DataD
100.2, Subject B, DataC, DataD
100.1, Subject C, DataC, DataD
100.0, Subject B, DataC, DataD
Please let me know if I confused everyone....It is rather hard to explain but the jest of it is that duplicate data needs to be shown with the first event recorded first and each subsequent event recorded in order instead of by sort.
Thx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|