Focal Point
[CLOSED] linking several reports on HTML page

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

January 03, 2010, 03:37 PM
ramakrk
[CLOSED] linking several reports on HTML page
Hi

I have 4 independent webfocus reports each has 2 parameters 'Date' and 'Code'.I want to link all these reports on HTML page by putting globally these 2 parameters. So that user can drilldown the parameter value, and also click the report below.I am using developer studio, output is HTML.Could you pl tell how do i approach the issue in Focus code.
Ex
parameter1 parameter2

report1
report2
report3
report4

thanks for the help,
Happy Newyear
rama

This message has been edited. Last edited by: Kerry,


WebFOCUS 762
Windows
To be decided(All formats)
January 03, 2010, 04:17 PM
FrankDutch
search in the documentation for an compound report




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

January 04, 2010, 10:14 AM
GinnyJakes
How about this. Using the HTML Layout Painter, put a submit button on the page. When defining the properties of the button, choose 'reference existing procedure' and then add each report in turn. That will run all 4 programs.

If that is not what you want to do, please give more detail.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
January 04, 2010, 12:42 PM
rfbowley
Presumiing that the four reports you want the user to select from are named

report1.fex
report2.fex
report3.fex
report4.fex

On the HTML page, in addition to any other selection criteria you want to use, create a drop down list with four static values

report1
report2
report3
report4

This dropdown is linked to the variable &RptName.

On the submit button choose 'reference existing procedure' and then execute a procedure RptSelect.fex

RptSelect.fex reads as follows:

-IF &RptName EQ 'report1' GOTO REPORT1;
-IF &RptName EQ 'report2' GOTO REPORT2;
-IF &RptName EQ 'report3' GOTO REPORT3;
-IF &RptName EQ 'report4' GOTO REPORT4;
-GOTO RPTEND;
-REPORT1;
-INCLUDE report1;
-GOTO RPTEND;
-REPORT2;
-INCLUDE report2;
-GOTO RPTEND;
-REPORT3;
-INCLUDE report3;
-GOTO RPTEND;
-REPORT4;
-INCLUDE report4;
-RPTEND
END

Now you have the user selecting which report to run using the other selection criteria on that same HTML page.


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001