Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limiting records that show in a grid
Message
De
10/04/2006 13:59:46
 
 
À
08/04/2006 09:48:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01095298
Message ID:
01112105
Vues:
14
So why do you think this is better than simply using the table and setting a filter for the year?


>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"
>>
>>
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform