Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chaining reports
Message
 
To
05/07/2005 10:27:37
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italy
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01028987
Message ID:
01029071
Views:
14
>I realized that If ‘Report2’ has a horizontal layout (while ‘Report1’ and ‘Report3’ have Vertical), the layout of ‘Report2’ is produced as Vertical. Reading the help file this seem unavoidable. I’ m asking a confirmation about that.

That is correct -- the way chaining works you are stuck with the orientation of the first report.

>What is strange is the numbering process of the three reports, since the first 1 gives me:
>Page 1 of 1 (I’d expect 1 of 3)
>The second: page 2 of 2 (I’d expect 2 of 3)
>The Therd: page 3 of 3.

This is one flaw of the way chaining works. At the time the first report runs, it doesn't know that you are GOING to run two more reports. Therefore, the page count only reflects the first report. When the second report runs, it knows about the preceding report .. but it still doesn't know that you are GOING to run another report. That's why the page count reflects the total of the first two reports.

The only way to get around this is to do what we have always done in the past for total page counts -- run the reports to a file first -- remember the total page count -- and use the new total page count in your report instead of the native one.

I wish I had a better answer for you!
Cathy
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
Reply
Map
View

Click here to load this message in the networking platform