Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Chaining reports 2012-04-22 -- Alan de Wet Once again the replies are suggesting 3rd party templates (at a cost no
doubt) which may not be necessary.
Try the following to have the additional reports printed from within the
main report:
Hilite the main report in the Application Tree, click the Calls button and
select all 3 of the reports.
If they are to be printed after the main report, in the
ThisWindow.AskPreview Procedure of the main report in the embed point 6300
place embedded code to call the reports which are to be printed eg:
IF AdditionalReport1 = 'Yes'
PrintAdditionalReport1
END
IF AdditionalReport2 = 'Yes'
PrintAdditionalReport2
END
IF AdditionalReport3 = 'Yes'
PrintAdditionalReport3
END
If they are to be printed before the main report place the same code in the
embed point after opening the window of the main report.
I do this a lot especially where the main report creates 1 or more queues or
other global variables or even new temporary data files which are used in
the additional reports to print a summary of the main report.
Attached is a sample txt file of the embed code to print additional reports
after the main report.
Today is November 21, 2024, 7:09 am This article has been viewed 35244 times.
|
|