Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Mystery
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Report Mystery
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01248295
Message ID:
01248295
Vues:
74
Hi everybody,

Somehow I could not figure out a simple problem.

I have a very simple report with one group and a summary. In the summary and in the group footer I'm printing totals. Now, if I only have one group, I don't want to print totals to not repeat the same information.

Very simple.

So, I've created a report variable called nGroups, set it to SUM, added a _VFP.SetVar('nGroups',m.nGroups + 1) in Group Footer OnExit expression and put
nGroups>1 as Print When condition for my amounts in the Summary. I also put nGroups in the Summary to make sure it's calculated correctly.

Now, I see 2 for nGroups in the Summary, but the amounts don't print.

I could not find out what's wrong and I spent about an hour on this already.

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform