Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pagebreak in report with multiple detail-bands
Message
From
11/01/2011 04:04:34
 
 
To
10/01/2011 03:32:24
Rolf Otto
C.I.P.-Kommunal Gmbh
Siegen, Germany
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01494906
Message ID:
01495589
Views:
65
>>>Hi all,
>>>
>>>I have a report with multiple detail-bands. In this report every detail-band must begin on a new page, but only if there are records to print in this detail-band for the current parent-record.
>>>
>>>So I marked the option “Start on new page” in the detail-band-properties. But when there are no records to print in one of the detail-bands, the pagebreak still appears, although every report-control in the detail-band, detail-header and detail-footer is suppressed by a "print when"-condition and the selection "Remove line if blank".
>>>
>>>Is there any way to suppress the pagebreak for the deatail-band, when there are no records to print in the detail-band, or alternatively to do a pagebreak only when there are records to print?
>>>
>>
>>In case you do not manage with plain FRX, have look at www.report-sculptor.com
>>With RS you can have total control over report pages creation. See samples in RS demo project for
>>more ideas.
>>
>>HTH
>>Sergio
>
>Thanks for the advice. I'll have a look at it. But one question. We use XFRX and are playing with Moxie Objects for rtf/html. Is it possible to use report-sculptor together with these products and other report-listeners?

If you own XFRX, then RS can use it to produce all types of output supported by XFRX. It is just matter of setting two properties, one with path to XFRX folder and second with flag 'Y'
function rsGlobalObjectSetup

with _oRSGO
    .XFRX_ACTIVE='Y'
    .XFRX_PATH='C:\xfrx127'  &&wherever you keep XFRX 
endwith
Once you enable You can also call XFRX preview directly from RS.
oRS.Output(3) &&Brings up XFRX preview

*cFile=oRS.Output(301) &&Send to PDF file via XFRX
cFile=oRS.Output(302) &&Send to word file via XFRX
*cFile=oRS.Output(303) &&Send to FDOC file via XFRX
*cFile=oRS.Output(304) &&Send to RTF file via XFRX
*cFile=oRS.Output(305) &&Send to FRTF file via XFRX
*cFile=oRS.Output(307) &&Send to HTML file via XFRX
.
.
.
cFile=oRS.Output(315) &&Send to Open Office Calc spreadsheet
*see RS help for full list of output types
Custom FRX Listeners as such are NOT possible within RS. RS internaly uses one special listener to intercept/store results of FRX report run into the RS engine. Therefore it is impossible to use any other. It should be subclass of rs engine listener, which as of this moment is not public. Other then that little limitation (till RS Engine FRX Listener is open for subclassing), RS in not mutually exclusive with anything else.
Quiet opposite :)

HTH
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform