Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chained reports still take whole page
Message
De
14/07/2008 19:29:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Chained reports still take whole page
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01331276
Message ID:
01331276
Vues:
77
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.
Jim Newsom
IT Director, ICG Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform