Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Mystery
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01248295
Message ID:
01248300
Views:
21
Post the Print When logic you are using for the amount fields.

>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.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform