Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid to order
Message
From
15/04/1998 10:10:41
 
 
To
15/04/1998 09:26:35
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00092118
Message ID:
00092140
Views:
17
>Hi all !
>
>Ihave a question .
>when i use grids to show the data i see that the grid has a header in any column.
>
>i want to know if there any way to make that if i click in one of the header of the grid the data take order (descending or ascending) by the field showed in that column?
>
>i'km tring to do this but i cant't yet, my knolowged in vfp 5.0 are not enougth to make this.
>if anybody cant show me some tip to make some like this i thanks a lot
>
>best regards
>Augusto marin G.

If data in grid (table/view/cursor) is indexed then you can add to header.click events:
Select table1
Set Order to tag ....
Thisform.Grid1.refresh
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform