Focal Point Banner


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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Dynamic Ranking
 Login/Join
 
<PT>
posted
I want to select dynamic ranking like in one combo box it should show top and bottom and in other it should show numbers sothat i can select top 10 or bottom 15.

Anybody knows how to do it with GUI?
 
Report This Post
<JG>
posted
It's not possible to do this in the gui tools because they do not allow you to parameterize WebFocus keywords such as HIGHEST/LOWEST or the values that you pass them.

You need to manually edit the code so that it looks as follows. However make sure that you do all of your styling for the output first as the code will not open in the painter or layout tools afterwards.



TABLE FILE CAR
PRINT

MODEL
RANKED AS 'RANK' BY
&TB.(,).Top/Bottom.
&TN.(<1,1>,<2,2>,<3,3>,<4,4>,<5,5>,<6,6>,
<7,7>,<8,8>,<9,9>,<10,10>,<11,11>,<12,12>,
<13,13>,<14,14>,<15,15>).Number.

DEALER_COST
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
END

Regards

JG

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
<PT>
posted
It doesn't allow me to save or execute following code.

It shows error in &TN variable
&TN.(<1,1>,<2,2>,<3,3>,<4,4>,<5,5>,
<6,6>,<7,7>,<8,8>,<9,9>,<10,10>,<11,11>,<12,12>,
<13,13>,<14,14&g t;,<15,15>Wink.Number.


Can you please revert back

Pranali

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
<JG>
posted
Pranali, I suspect that you tried to paste the code into the source view of the painter. This will generate exactly the error you describe when you try to save it.

The way to do it is to style your basic report, close the painter and then use the edit in text editor option and paste it that way.

Also make sure that the tags have not been substituted when you paste, sometimes when copying or pasting from HTML the GT and LT signs get substituted by the HTML code values.

JG
 
Report This Post
<Sugiyama>
posted
Hi Pranali

Let's try

(MRE env)
TABLE FILE filename
PRINT fieldname
RANKED BY
&LH.(LOWEST,HIGHEST).LOWEST or HIGHEST.
&RANK.(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15).RANK.
ranking fieldname
END

(NOT MRE env)
EX rankprog LOWEST,10

rankprog is

-DEFAULT &1=LOWEST,&2=15
TABLE FILE filename
PRINT fieldname
RANKED BY &1 &2 ranking fieldname
END

Good Luck!
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders