Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limiting records that show in a grid
Message
From
08/04/2006 09:48:49
 
 
To
07/04/2006 18:43:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01095298
Message ID:
01111675
Views:
15
Looks right. There are some classes here in the downloads section that you can use for sorting. The user clicks on the column header and the grid is sorted.

>Is this what you had in mind? It works but is not much different from using the tables directly.
>
>** grid.init
>
>SELECT test_financing.* ;
>from tip inner join test_financing on tip.tip_id = test_financing.tip_id ;
>where year = 2007 into cursor crsYear1 readwrite
>select crsYear1
>index on tip_id to tempyear1
>
>this.RecordSourceType = 1
>this.RecordSource = "crsYear1"
>
>select tip
>set relation to tip_id into crsYear1 additive
>
>this.column1.ControlSource = "amount"
>this.column2.ControlSource = "source"
>this.column3.controlsource = "phase"
>
>
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform