Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculation Problems
Message
 
 
À
26/08/2000 02:04:42
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00409508
Message ID:
00409609
Vues:
21
>OK, I give. In a report I created a variable called lnSubtotal and in its value to store I put SUM(viewname.numericfieldname). I received a "'Sum.prg' does not exist". I tried other combinations such as SUM(viewname.numericfieldname) TO lnSubtotal, SUM viewname.numericfieldname, and CALCULATE SUM(viewname.numericfieldname).
>
>What is the correct syntax?
>
>Thanks
>JD

You do not use the VFP SUM function this way. Put a field control in the Group Footer or Summary band of the report with that field as the expression. Click the Calcualtions and check the Sum option.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform