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.
New to Webfocus. A consultant set up a series of prompts in the Whereif section. We would like to simplify some of them, but not sure how to go about it. For one of them rather than having to go through a list and click on one or several items, would like to have the choice be Equal to Or Not Equal. Example the user would have a select box and the choices would be:
UG GR
The WHEREIF would need to translate it so that if the user selected UG the WHERE clause would be = UG. If the user selected GR, the WHERE clause would be <> UG. In the above example, GR is a displayed value, as the actual list contains 6 codes.
Similarly, would also like to consider the option of UG, GR, or one of the individual items, if the user wanted to see only one particular group.
Here is the statement as it is now. WHERE ( STUDENT_LEVEL EQ '&ST_LEVEL.(FIND STUDENT_LEVEL,STUDENT_LEVEL_DESC IN ADMISSIONS_APPLICATION).Student Level.' );This message has been edited. Last edited by: Kerry,
Thank you for your reply. I wasn't able to connect to webfocus yesterday as the server was down. I tried working with your code, but not sure where the -PROMPT and -SET lines go. I switched the view from REPORT to SOURCE and pasted the -PROMPT and -SET lines between TABLE FILE and PRINT. I then modified the WHERE statement per your example. I was unable to return to the Report view nor was I able to run the report by clicking on the blue triangle "Run" button. Below is partial code from the report painter.
TABLE FILE ADMISSIONS_APPLICATION -PROMPT &ST_LEVEL.(FIND STUDENT_LEVEL,STUDENT_LEVEL_DESC IN ADMISSIONS_APPLICATION).Student Level.; -SET &TESTER = IF &ST_LEVEL EQ 'UG' THEN 'EQ' ELSE 'NE'; PRINT BIRTH_DATE STREET_LINE1 BY PERSON_UID HEADING "" FOOTING "" WHERE ( STUDENT_LEVEL &TESTER '&ST_LEVEL' );
-------------- Was I supposed to do this in the graphical environment, didn't know what Menu or Icon to click on to do this.