Focal Point
Creating Launch page for multiple reports

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

June 03, 2005, 08:19 PM
awbradley
Creating Launch page for multiple reports
I have three fex's that I would like to display on the same resource layout page. All three reports use the same parameters (start_date and end_date). I want the user to only enter the parameters one time and have all three reports appear on the same page. I am new to WebFOCUS and would appreciate any suggestions on how to accomplish this.
June 03, 2005, 08:38 PM
Boogarweed
This is easy to do. See code below.

TABLE FILE FILE1
PRINT FIELD1 ...
WHERE RPT_DATE FROM '&START_DATE' TO '&END_DATE'
ON TABLE HOLD AS RPT1 FORMAT HTMTABLE
END

TABLE FILE FILE2
PRINT FIELD1 ...
WHERE RPT_DATE FROM '&START_DATE' TO '&END_DATE'
ON TABLE HOLD AS RPT2 FORMAT HTMTABLE
END

TABLE FILE FILE3
PRINT FIELD1 ...
WHERE RPT_DATE FROM '&START_DATE' TO '&END_DATE'
ON TABLE HOLD AS RPT3 FORMAT HTMTABLE
END

-HTMLFORM BEGIN


!IBI.FIL.RPT1;

!IBI.FIL.RPT2;

!IBI.FIL.RPT3;


-HTMLFORM END[/code]This code is very simple but you can modify the html to place the reports any way you want.....Kelly

This message has been edited. Last edited by: <Mabel>,
June 05, 2005, 04:06 AM
TexasStingray
To do this in the Resource Layout do this.

1. Create the three reports and set the where statements in them.
2. In Resource Layout do NOT insert a button, instead insert a report object for each report. This will create an iframe, parameter fields, a submit & reset buttons for the first 1 and then if the 2 and 3 should use the parameters from the first 1 if they need additional parameters it should add them.

I tested this using 2 car reports and you should be able to all 3 without any problem.

Hope this helps.
June 06, 2005, 05:39 PM
awbradley
TexasStingray, the process you suggested worked and returned the desired report; however, I am getting an IE error that says PROBLEMS WITH THIS WEB PAGE MIGHT PREVENT IT FROM BEING DISPLAYED PROPERLY OR FUNCTIONING PROPERLY. Any ideas what might be causing this problems?

Thanks for the suggestions!
June 06, 2005, 07:30 PM
TexasStingray
No, Not off the top of my head. If you have support please open a case with NY.

Thanks