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.
I have a HTML with 2 iframes (F1, F2) and 2 sets of 3 same parameters (P11/P12/P13, K11/K12/K13) and 2 push buttons (B1, B2) to run reports in those iframes. In the fex I have WHERE conditions like this.
WHERE FIELD1 EQ '&P11/&K11';
WHERE FIELD2 EQ '&P12/&K12';
WHERE FIELD3 EQ '&P13/&K13';
My issue is if B1 is clicked, parameters should be taken as P11/P12/P13 and if B2 is clicked then they should be K11/K12/K13. I can use 2 different procedures but code is going to be the same so I am thinking to do in 1 fex only as 3rd frame may be added later.
How can I achieve this? Please suggest.
Thank you.This message has been edited. Last edited by: FP Mod Chuck,
Originally posted by MartinY: Have a parameter to be assigned according to pressed button then in your fex assign parameter based on the first one.
-SET &PARM1 = IF &BUTTONCLICK EQ 1 THEN &P11 ELSE &K11;
...
WHERE FIELD1 EQ '&PARM1';
Martin, thanks for reply. I had this idea but I am not sure how to send a parameter with 1 button? A parameter created on HTML page seems to be going to fex when any push button is clicked. Or may be I am getting confused.