Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sum inside grid
Message
De
03/04/2005 13:35:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/04/2005 04:22:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
01001076
Message ID:
01001103
Vues:
16
>hi all,
>i try to make sum at my grid .but no result
>at mygrid column23 header 1 text1 via procedure valid
>
>replace sum1 with d1+d2+d3+d4  &&sum1,d1,d2,d3,d4 fields atmytable and atmygrid1
>
>thanks

If you want to have the sum of several fields in another Column, just put the sum (or other calculation) in the Column.ControlSource. For example, Grid.Column5.ControlSource = D1 + D2 + D3 + D4
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform