Focal Point
Passing Amper varibale Values to Detail Report

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

January 23, 2007, 04:40 AM
kalyanswarna
Passing Amper varibale Values to Detail Report
Hi All,

i have one Graph(Master) and iam doing drilldown for this Graph, the detail report is Tabular report. here the problem is i have two Amper variables in My Graph and the same in Tabular report i want to pass these values of the variable from graph to tabular reprt.

any one have work around this please let me know.
thanks,


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
January 23, 2007, 06:27 AM
Tony A
Kaylan,

You really must make use of the search facilities on this Forum, it will save you time.

Francis answered this on the 17th Jan 2007 here

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
January 23, 2007, 08:50 AM
kalyanswarna
Hi Tony,
i searched in existing posts but ididn't get any suitable one,

the thing here i need to pass first report ampervarible values to second report.
the two reports having the same amper varibles(where clauses like where country eq &country).

Master report
******************
GRAPH FILE CAR
PRINT SEATS BODY TYPE
WHERE COUNTRY EQ &COUNTRY;
ON TABLE....
END
******************
Detail Report.
*****
TABLE FILE CAR
PRINT SEATS
DEALERCOST
WHERE COUNTRY EQ &COUNTRY;
ON TABLE.....
END
*************

MY REQUIREMNET IS I WANT PAAS DYNAMICALLY THE FIRST REPORT AMPERVARIBLE VALUE IN TO SECOND REPORT. I THINK BY USING THE JAVASCRIPT WE CAN ACHIVE THIS IAM TRYING THIS BUT I DIN'T GET THE SOLUTION.



THANKS,


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
January 23, 2007, 09:39 AM
Tony A
Did you check the post by Francis I linked for you?

snippet
GRAPH FILE CAR
SUM
SALES
ACROSS COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, FOCEXEC=TEST (COUNTRY=COUNTRY AMT1=N1 AMT2=N2 AMT3=N3), $
END

As the answer is there.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
January 23, 2007, 09:57 AM
kalyanswarna
hi Tony i checked the Francis Post, mine is entirely different.
here i want to pass The amper variable values means what iam entering to the first report to the second one.

it means for Eg: in first fex filter if i enter country as ENGLAND i want to pass this value to the second report(otherwise on the click of first report it will ask the Country Value to show the detail. i want to pass this country value at the time of clicking the first report to aviod the prompt)

Thanks,


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
January 23, 2007, 10:20 AM
Francis Mariani
GRAPH FILE CAR
PRINT SEATS BODY TYPE
WHERE COUNTRY EQ '&COUNTRY';
ON TABLE SET STYLE * 
TYPE=DATA, FOCEXEC=DETAIL (COUNTRY='&COUNTRY'), $
END



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
January 23, 2007, 11:17 AM
Tony A
Same difference if you thought about it, Kaylan.

Thanks Francis.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
January 23, 2007, 11:31 AM
kalyanswarna
Thanks to Francis and Tony, if it is more than ine parameter we can use the same?


Thanks,
Kalyan


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
January 23, 2007, 12:09 PM
Francis Mariani
GRAPH FILE CAR
PRINT SEATS BODY TYPE
WHERE COUNTRY EQ '&COUNTRY';
ON TABLE SET STYLE * 
TYPE=DATA, FOCEXEC=DETAIL ( \
COUNTRY1='&COUNTRY1' \
COUNTRY2='&COUNTRY2' \
CONTINENT='&CONTINENT' \
), $
END


Use the \ character to continue a drilldown line in a WF stylesheet.

This stuff is in the manuals.

This message has been edited. Last edited by: Francis Mariani,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
January 23, 2007, 11:47 PM
kalyanswarna
Thanks Francis!!


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
January 24, 2007, 04:38 AM
Tony A
Hey Francis,

What's a manual? Is it something we should keep near us and read?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10