Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrong sum of parent table in report summry
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00520371
Message ID:
00520375
Vues:
18
Zaheer,

I always run a SQL select to create a single flat cursor that has the columns of both tables that are needed for the report. Report banding can be used to create the appearance of the parent-child relationship.

>I have two tables in report data environment. The relationship between them is a field named section and the same field is data group. All the calculations are ok expect the sum of parent table's fields in summry. When I interchange parent to child and child to parent it always give worng sum of parent table's fields only in summary band. I tried using variables and by changing data grouping but still the problem is same. When I use single table report it gives all the sum correct. The problem is due to two tables and the child table has all the calculation ok. All the calculations are ok even in group footer. Only in report summary parent table fields give wrong sum.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform