Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Passing Parameters from Report to rReport

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Passing Parameters from Report to rReport
 Login/Join
 
<Mark>
posted
Hi,

I have to pass 3 values from Report and i should be able to store these values in a local variable in webfocus.
Further down, i should be able to assign this variable to any condition i put in where clause in the webfocus.
The aim is to sort data according to those parameters.
How can i achieve this. Required Urgently.
 
Report This Post
Platinum Member
posted Hide Post
I'll give your question a try..... and maybe it will help you get a little further....

After you print the fields from the table you want, do an ON TABLE SETSTYLE

the FOCEXEC is the program you want to execute using the parameters

VAR1 is the first variable and is equal to the value in the fourth column. (Keep in mind that even a BY field NOPRINT is considered a column)

VAR2 is the second variable and the value in column one

VAR3 is the third variable and the value in column 8

COLUMN=4 is the column that is clicked to drill into the program with these variables

VAR1,VAR2,VAR3 are then the variables used in the where clause in PGMTOGOTO

ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
TYPE=DATA, FOCEXEC=PGMTOGOTO(VAR1=N4 VAR2=N1 VAR3=N8), COLUMN=N4, $
ENDSTYLE

Hope this helps even a little.....
 
Posts: 132 | Location: Kansas | Registered: November 12, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Passing Parameters from Report to rReport

Copyright © 1996-2020 Information Builders