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.
Hi, I want to generate a report on the basis of a By field in desending order. But when i am using Highest command, i am not getting the expected result. The field is in A4 format.
Anyone can Please Advice. It will be very helpul.
Thanks in advance.
Thanks ArpitaThis message has been edited. Last edited by: Kerry,
And I think when you leave the word HIGHEST out it should also work. The BY field defaults does a alpabetic sorting. Highest is only used for number if you want the highest on top.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
[The error of my ways has been pointed out by Frank, below. I humbly accept the public tongue-lashing! The reasoning in the following paragraphs is exactly backwards - man, what was I thinking! .... I haven't been smoking anything either....
Arpita does need the BY HIGHEST (without any dots) if he wants the PTT1 sort to appear before the PAG1 sort. BY, alone, of course sorts from lowest to highest. You need the BY HIGHEST to get the reverse sort. My apologies! The original post, with all the mistakes, follows:] ..............................................
Take out the HIGHEST all together. BY (without any HIGHEST) automatically sorts from highest to lowest. HIGHEST is redundant in this case. You only need BY HIGHEST to specify a specific number of records to select, e.g.:
BY HIGHEST 10 CLK_STN_FINAL
will give results for the first 10 instances of the sort field and ignore the rest.
In contrast, BY LOWEST has to be used for reverse sorting or, with the number parameter, can be used to select the lowest X instances of the sort field.This message has been edited. Last edited by: George Patton,
Of course BY alone sorts from Lowest -> Highest. So the reasoning in my earlier post is exactly backwards!
You suggested leaving out the HIGHEST in an earlier post! That's what got me thinking about this in the first place.
As always one has to know what the data looks like. In this case it appears that the data in the field in question always has a capital letter in the first position so the issue of 0 -> 9 and a -> z doesn't arise.
So if Arpita wants the PTT1 sort to appear before the PAG1 sort then he does need to use BY HIGHEST (without any dot).
In his second sort (which he has commented out)it is the word LOWEST that is redundant.This message has been edited. Last edited by: George Patton,