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 am trying to get the syntax below to prompt me twice for field value. Want to use an OR in a where clause with Parameters. It seems that the follow should work but I only get prompted once. Can someone please assist. WHERE END_DATE EQ '&END_DATE' OR '&END_DATE';This message has been edited. Last edited by: Kerry,
WebFOCUS 7.6.2, MS Windows Server/______, Excel, PDF, HTML
The DEFINE would use &DATE1 and &DATE2, as would the launch page...
One of many ways (this one's explicit):
DEFINE FILE MyFile
ShowThisRecord/A3 = IF END_DATE EQ &DATE1 OR END_DATE EQ &DATE2 THEN 'YES' ELSE 'NO' ;
END
TABLE FILE MyFile
DO THIS
WHERE ShowThisRecord EQ 'YES'
So many other ways...
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I always go to the GUI to determine the syntax for a Multi-Select OR. I always forget because I do not use it that much. The syntax is different based on whether it is a static list or a dynamic list that comes from a master.
TABLE FILE CAR
PRINT
COUNTRY
CAR
MODEL
HEADING
""
FOOTING
""
WHERE COUNTRY EQ &COUNTRY.(OR(<C1Text,C1Value>,<England,ENGLAND>)).Country.;
WHERE CAR EQ &CAR.(OR(FIND CAR,CAR IN CAR)).Car.;
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
ENDSTYLE
END