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.
Can anyone help me with column-sorting on the fly where the user can click on a hyperlink on any column on the report(html) to re-generate the same report based on the field they click??
Appreciate ur help
Thanks PK
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004
If you have subscribed to the OLAP option of WebFocus , then the absolute easiest way to sort any column of a displayed report is to just add the line ... -OLAP ON as the first non-comment line of the Focexec
-* sort.fex file: -* Sort order: HIGHEST or LOWEST: -DEFAULTS &SORTORD='FIRST'; -* Previous sort column: -DEFAULTS &PREVSRT='FIRST'; -* The SORTCOL column is used for sorting: -DEFAULTS &SORTCOL='COUNTRY'; -* Set up the sort order appropriately: -SET &SORTORD= IF &PREVSRT NE &SORTCOL THEN 'LOWEST' ELSE - IF &SORTORD EQ 'LOWEST' THEN 'HIGHEST' ELSE 'LOWEST'; -* TABLE FILE CAR SUM SALES BY &SORTORD TOTAL &SORTCOL NOPRINT BY COUNTRY ON TABLE SET STYLE * TYPE=TITLE, COLUMN=P1, FOCEXEC=SORTS ( \ PREVSRT='&SORTCOL' \ SORTCOL='COUNTRY' \ SORTORD='&SORTORD'), $ TYPE=TITLE, COLUMN=P2, FOCEXEC=SORTS ( \ PREVSRT='&SORTCOL' \ SORTCOL='SALES' \ SORTORD='&SORTORD'), $ ENDSTYLE END
It is not so effortless like OLAP (especially in the real-life cases), but is more flexible and completely customizable.