Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi column sorting in grid
Message
From
24/10/2011 09:07:45
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
24/10/2011 08:04:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01526657
Message ID:
01527168
Views:
54
>>>I was envisaging this as letting the user to (to get the Company + Department + Surname order) click on the Company column header, which will then sort the grid by Company, then they can Ctrl+Click on the Department header which will set the order of the grid's recordsource to Company + Department and then they can Ctril+Click on the Surname column header and the full sort order will get set to Company + Department + Surname.

Looking at how Thunderbird (and probably few other apps) sorts, it's the last two or three clicked columns, in reverse. If I click the date column, it sorts by date. If I then click the sender column, it sorts on sender+date. IOW, the last clicked is the first in sorting order, then the forelast* and maybe the one before that.

* a word missing in English... could have said "penultimate" but it sounds pompous and doesn't look related to "last" at all.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform