Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chained reports still take whole page
Message
From
15/07/2008 08:42:17
 
 
To
14/07/2008 19:29:15
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01331276
Message ID:
01331350
Views:
9
>Hi all,
>
>I'm chaining reports with the VFP9 reportlistener and XFRX into a PDF, trying to produce a particular effect and failing.
>
>The reports I'm making consist of common blocks or bands that have to be mixed and matched to create the PDF in the way I need. There are about 7 sections to be done this way. I have defined the sections as separate FRX reports, thinking I could use chaining to create the desired effect. Each FRX has the detail band defined with page header or footer and no data groups
>
>
>I'll give one example: the tax certification summary:
>
>This consists of :
>
>Header (title)
>orderinfo
>accountinfo
>summaryinfo
>notes
>
>Example with 2 sections :
>
>
>SET REPORTBEHAVIOR 90
>SET CLASSLIB TO C:\development\icgreal\libs\_reportlistener.vcx ADDITIVE
>loListener=EVALUATE([XFRX("XFRX#LISTENER")])
>lnRetval = loListener.SetParams("c:\crap\output.pdf",,.T.,,.T.,,"PDF")
>*REPORT FORM taxcertheader OBJECT loListener NOPAGEEJECT
>REPORT FORM taxcertorderinfo OBJECT loListener NOPAGEEJECT
>REPORT FORM taxcertnotes OBJECT loListener NOPAGEEJECT
>loListener.finalize()  && creates the PDF file
>
>
>The file is being created with all the sections in there in the correct order. Whats happening that I don't want is that each detail band takes up a whole page, leaving a lot of white space to the bottom of that page, so that the next part does not come right after it and only starts at the top of the next page in the file.
>
>Maybe this can't be done in this manner? Any ideas are welcome.


Hi Jim

Have look at

www.report-sculptor.com

You can do what you want in more then one way, and it is directly portable to xfrx.

http://www.report-sculptor.com/#FrxInterpreter

http://www.report-sculptor.com/#FreeDesign

http://www.report-sculptor.com/#ScriptPower



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

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

Click here to load this message in the networking platform