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 creating each of the drills within the style using a save table.
-SET &SRT_C = ' ';
-READ SS1, &SRT_C
-REPEAT :Loop4 WHILE &IORETURN EQ 0;
-SET &RNDM = EDIT(HHMMSS('A8'),'99$99$99');
-SET &SORTDIR = IF (('&SORT.EVAL' EQ '&SRT_C.EVAL') AND ('&SORTDIR.EVAL' EQ 'LOWEST')) THEN 'HIGHEST' ELSE 'LOWEST';
-SET &DIRCOLOR = IF ('&SRT_C.EVAL' EQ '&SORT.EVAL') THEN 'WHITE' ELSE IF ('&SORTDIR.EVAL' EQ 'LOWEST') THEN 'RED' ELSE 'BLACK';
TYPE=TITLE, COLUMN='&SRT_C.EVAL', COLOR='&DIRCOLOR.EVAL', FOCEXEC=app/fss.fex(SORT='&SRT_C.EVAL' \
RNDM='&RNDM.EVAL' PREVSORT='&SORT.EVAL' \
SORTDIR='&SORTDIR.EVAL'),
STYLE=-UNDERLINE,
$
-READ SS1, &SRT_C
-:Loop4
It works great for the first time. Once I select a column it is SORTED but it does not allow me to select it again unless I select another but then it was not the last one so it still SORTs in the same order as it did previously.
As you can see I have added a random number based upon the time to make it unique but this did not work.
Thanks David
Version wf 7.6.7This message has been edited. Last edited by: <dksib>,
I, personally, wouldn't do it this way (in the sytle sheet). I'd use a DEFAULTed sort variable and pass the value of that through my DRILLDOWN. This, of course, would be reset based on the value passed in ot the DEFAULTed value for the first execution of the fex. imho.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
The byaa is either a '-*' or space depends upon if it is the first time running or not.
That still does not help me with hoe to fix the hyperlink on the column title the second time around. I thought that if I added a random number such as the time it would create a NEW link, but it does not.