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     [closed]Naming Sort values which are in a Variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[closed]Naming Sort values which are in a Variable
 Login/Join
 
Platinum Member
posted
I have a BY FIELD which is a variable like this.
  
BY  &RP_FN01B_Sort1.(BY(<District,DIM_DISTRICT.DISTRICT_ID>,<City,DIM_CITY.CITY_DESCR>,<Month,SALE_MONTH>)).Please select sort field(s).


When i run the report i am getting Sort field column headings as
DISTRICT_ID CITY_DESCRIPTION SALE_MONTH
but instead i want to get headings like
District City Month.
I cannot give AS NAMES here as sort by fields are in a variable.
Can't make changes in master file as well.

Any idea to implement this.?

This message has been edited. Last edited by: srajeevan,


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
 
Posts: 229 | Location: MI | Registered: September 13, 2017Report This Post
Virtuoso
posted Hide Post
I'm afraid the best solution is to set the TITLE value in the master files.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
I will keep that solution as the last resort Babak.

Thanks Smiler


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
 
Posts: 229 | Location: MI | Registered: September 13, 2017Report This Post
Virtuoso
posted Hide Post
Not very practical but what if you had a DEFINE for each one of the columns that has the title as the fieldname?

 
DEFINE FILE XYZ
District/A10=DIM_DISTRICT.DISTRICT_ID;
City/A50=DIM_CITY.CITY_DESCR;
Month/HM=SALE_MONTH;
END

Then use these defined fields in your BY like this:

BY  &RP_FN01B_Sort1.(BY(<District>,<City>,<Month>)).Please select sort field(s).
 


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
Yeah.That is a possible solution i can use.
I have more than 2 sort fields,but yeah i don't have to touch master file.


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
 
Posts: 229 | Location: MI | Registered: September 13, 2017Report This Post
Virtuoso
posted Hide Post
It'll only work if you don't have spaces or special characters in them though.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
For now it works good for me.

Thanks


WF8206,Windows 7,8,10
HTM,PDF,EXCEL
 
Posts: 229 | Location: MI | Registered: September 13, 2017Report 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     [closed]Naming Sort values which are in a Variable

Copyright © 1996-2020 Information Builders