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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]BY field Custom order

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]BY field Custom order
 Login/Join
 
Platinum Member
posted
I was wondering haw a may make a by field to put the data in a certian order, I though i could use a define field and give them values like 1 2 3 4 5 and place them in order by number... If i did that how could i then have it ordered right and put out the origanal value


EX.

apple = 2

orange = 4

banana = 1

pineapple =3

out

banana

sdfgdfsgdfg
dfgsdfgsdgf
dfgdfgdggdfg

apple

sdfsadfsadfsad
sadfsafsdf
asdfsdfsf

pinapple

sdfsafasdf
sfasdfsadf
dfasfasdfsa

orange

sdfasdfsad
sdfasfsdaf
sdafsdfsdf
sdfsdafadf

This message has been edited. Last edited by: Charles Richards,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 111 | Registered: May 12, 2011Report This Post
Platinum Member
posted Hide Post
Hi,

As you said use a define field to sort in the order you want and do a NOPRINT on that defined field and print the actual BY field.

DEFINE FILE CAR
SRT/I2 = IF COUNTRY EQ 'ENGLAND' THEN 1 ELSE 9;
END
TABLE FILE CAR
PRINT
CAR
BY SRT NOPRINT
BY COUNTRY
END

Thanks
Sashanka


WF 7.7.03/Windows/HTML,PDF,EXL
POC/local Dev Studio 7.7.03 & 7.6.11
 
Posts: 103 | Registered: June 12, 2009Report This Post
Platinum Member
posted Hide Post
Thanks for the help!


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 111 | Registered: May 12, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]BY field Custom order

Copyright © 1996-2020 Information Builders