Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I eliminate page breaks in summary report
Message
From
10/07/2000 13:12:50
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00390300
Message ID:
00390336
Views:
11
>>I have a report form which contains a group band. I have setup the band to start each group on a new page. This works beautifully when I am printing the full report. However, our program offers the user an option to print summary information only. We are using the same report form for both, so when they choose this, we are getting one line (the summary line) per page. The user has said this is a waste of paper, and they would like the summary report to NOT break when the group changes.
>>The "start each group on a new page" property is set during design time. Is there any way that I can override this property as runtime?
>>One solution that occurs to me (and I don't even know if this will work) is to use the report form as a table (USE REPORT.FRX EXCLUSIVE) and replace the Pagebreak field for the grouping records (objtype = 9, objcode = 3), then change it back when I am done. I am loath to hack into the report as a table because of the potential for multiple users running the same report, one as summary and one as detail. There is also the usual peril of trashing the report. The other option I can think of is to create a completely separate report form just for the summary.
>>
>>TIA,
>>Bill
>

>Bill,
>
>You can copy your report to a temorary file, make requered changes and run report from there.

Out of curiosity, does anyone know if the Report Designer will be receiving any improvements in VFP7? Something like this and an earlier problem I had (having a "Print When" for the entire band) would be ideal improvements to the tool. I know the report designer has traditionally been neglected in the grand scheme of things, but it's still an important part of the package.
Previous
Reply
Map
View

Click here to load this message in the networking platform