Focal Point
Multiple reports from a singe report.

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1011004952

November 29, 2007, 03:01 PM
Wilky
Multiple reports from a singe report.
I have a report that generates say 5 lines. is there a way to generate 5 reports with 1 line each instead of 1 report with 5 lines.

What I am trying to do is instead of generating a report with 5 lines I want to generate 5 reports using a template

so say

TABLE FILE TEST
BY RECORDID
HEADING
"TEST REPORT"
ON TABLE PCHOLD FORMAT EXL2K
END

PRODUCES 1 EXCEL FILE

Test Report
1
2
3
4
5

I want 5 EXCEL files (not 5 tabs) which I could do a TOC on.

Test Report
1

Test Report
2

Test Report
3

Test Report
4

Test Report
5


PROD: WF 7.1.3 on Win 2003/IIS 6/Self-Serve & MRE
TEST: We dont need no Stinking Test Server!
November 29, 2007, 03:17 PM
FrankDutch
I would do that by using Report Caster and the BURST function.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

November 29, 2007, 04:20 PM
Leah
Burst would give five reports, but how would a TOC be generated?

I'd be curious, what is the business need here?

Thanks.


Leah
November 29, 2007, 04:44 PM
Wilky
The burst would only work if the records were going to say differant people. I was just syaing if i wanted them on differant tabs I would do a TOC.

The reason for this is for my QC department. We have what we call an Non-Conformance system and when ever we get bad or problem material from a vendor we create an entry. What we are trying to do is send them an Excel form for each entry. So say for this batch there is 5 problems. Each problem will get its own excel file (generated from webfocus) using a template becuase it is a predesigned for in excel. becuase this is 5 problems they need to be seperated as each one will be dealt with seperatly.


PROD: WF 7.1.3 on Win 2003/IIS 6/Self-Serve & MRE
TEST: We dont need no Stinking Test Server!
November 29, 2007, 05:05 PM
FrankDutch
Wilky

you can set up a dynamic burst list based upon your first by field for let's say the country (from CAR) and your mailadres could be the same for all these countries.
You will get five separate reports (sheets).

See this code

-* File DynamicMail.fex
-*APP HOLD SERVERNAME
SET TITLES = OFF
SET BYDISPLAY = ON
SET HOLDLIST = PRINTONLY
DEFINE FILE CAR
EMAIL_ADDR/A40 =  'yourmail@def.com';
END
TABLE FILE CAR
BY COUNTRY
BY EMAIL_ADDR
ON TABLE HOLD AS CAR_DC
END
-*And in procedure I have written this code:
SET ASNAMES = ON
TABLE FILE CAR_DC
PRINT
COUNTRY AS 'VALUE'
EMAIL_ADDR AS 'DEST'
ON TABLE PCHOLD
END


This generates the dynamic maillist

Then create your report in EXCEL with the country as by field and RC will send you the 5 spreadsheets.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

November 29, 2007, 05:08 PM
Leah
Actually you can set the burst on option then have the 'burst values' each sent to the same place but will show as different files. Problem would be if you did more than one vendor at a time. I'm assuming here you want idividual responses from the vendors is why the QC doesn't want a combined report of multiple sheets.


Leah
November 30, 2007, 09:59 AM
Wilky
I am already bursting the report based on the vendor. There might be 10-20 vendors per batch being processed.


PROD: WF 7.1.3 on Win 2003/IIS 6/Self-Serve & MRE
TEST: We dont need no Stinking Test Server!