on 04-20-2015 3:20 PM
Hello guys,
Does anybody know if is possible to generate using Report Manager tool a PDF report (around 10 pages) in order to show layouts, texts and graphics in the same report?
Thanks in advance,
Regards
Edu.
Hi Edu,
You could potentially write a script to generate reports with multiple pages based on your Responsibility Center List or any other dimension you want you report to be generated by.
Sample Script by Responsibility Center:
Rule = "=ChildList(""Responsibility Centers"",""Total Responsibility Center"")"
List = Report.RunRule(Rule)
if IsArray(List) then
'For each item in the array, set the querystring value then run the report
'Note that you could set as many querystring values as needed
for i = LBound(List) to UBound(List)
Report.SetQueryStringValue "Responsibility Centers", List(i)
RCName= Report.RunRule("=ItemName(" &List(i)& ")" )
vReportName= "C:\RC-" & RCName & ".pdf"
IterativeReport = Report.run(vReportName)
next
else
err.raise vbObjectError + 1, "Report", "The report rule you called did not return a valid list."
end if
Hope this help.
Regards,
Athir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.