[CLOSED] Bursting reports with reportcaster with Excel Output format
I am trying to create a excel output with multiple sheets and burst it using ReportCaster in a single Excel file. When i run the below code separately, a single XLSX output file with multiple tabs is created, but when bursting through ReportCaster i am receiving multiple excel files as attachments. Can anyone help me with this. Thanks in advance.
SET COMPOUND=OPEN
TABLE FILE CAR
SUM
SALES
BY COUNTRY NOPRINT
BY BODYTYPE
ON TABLE PCHOLD FORMAT XLSX
END
TABLE FILE CAR
SUM
SALES
BY COUNTRY NOPRINT
BY MODEL
ON TABLE PCHOLD FORMAT XLSX
END
SET COMPOUND=CLOSE
TABLE FILE CAR
SUM
SALES
BY COUNTRY NOPRINT
BY CAR
ON TABLE PCHOLD FORMAT XLSX
END
This message has been edited. Last edited by: FP Mod Chuck,
WEBFOCUS 82 Windows X64 HTML,PDF,EXCEL
June 05, 2018, 02:20 PM
MartinY
With XLSX format I use a template with multiple sheets and not the COMPOUND feature. Then I loop to feed each sheet with proper data. It work perfectly with RC bursting.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
June 05, 2018, 03:02 PM
prad9293
Martin, thanks for the response. I am trying to take the compound approach because it works good with our current requirement
WEBFOCUS 82 Windows X64 HTML,PDF,EXCEL
June 05, 2018, 03:12 PM
MartinY
quote:
I am trying to take the compound approach because it works good with our current requirement
Seems not because RC cannot burst properly as you wish.
If I remember well using EXL2K with the COMPOUND it will burst properly, but with XLSX you need to use a template.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
June 05, 2018, 03:44 PM
prad9293
When i tried the same procedure with EXL2K for bursting, i got empty excel sheets with no data in the output.
WEBFOCUS 82 Windows X64 HTML,PDF,EXCEL
June 07, 2018, 11:59 AM
DWaybright
Have you tried using SET COMPOUND=BYTOC?
WebFOCUS 8.2.03 (production), 8.2.06 (testing) AppStudio, InfoAssist Windows, All Outputs