Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to sort the records in the Grid
Message
 
 
To
22/07/2003 11:18:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00812380
Message ID:
00812562
Views:
11
>When we use the grid on the VFP forms. at the runtime if we keep the mouse pointer on the header of the grid we will see a downward arrow but if we click on the column header of the grid how to sort all the records like in excel and access. (Like ascending or descending.)
>
>Is it possible.
>
>Thank you very much.

As Mark and Hilmar said, there are several existing solutions for this problem. One of them is gridsort (?) by Barbara Peisch, another is in Download section here - GridSorting sample by Vlad Grynchyshyn (with arrows). I am sure, Marcia Akins has one in her book.

I also have my own version, in which I borrowed some of Vlad's ideas. However, for simplicity I used colors for asc/desc order. If you would like my version, drop me a note by clicking on the envelope.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform