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] FML - Sorting other than Account Number

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] FML - Sorting other than Account Number
 Login/Join
 
Gold member
posted
As a default, the FML report sorts on account number (in our case ACCOUNT). Our users have a specific sorting requirement for the account list/rows on the report, but I don't know how to sort the accounts other than the default.

Here is the code that FML generates for the report. Is there a way to add sorting other to the "FOR AC****"?
---------------------------------------------------
TABLE FILE COA_RELATIONSHIPS
SUM
FFBD_ACTUAL/P12.2CM AS 'Actual'
FOR
ACCOUNT
"Operational Revenues:" LABEL R1 OVER
'OPERREVENUES' GET CHILDREN 1 ADD AS CAPTION LABEL R2 OVER
'OPERREVENUES' ADD ALL AS CAPTION LABEL R3 OVER
" " LABEL R4 OVER
"Operational Expenses:" LABEL R5 OVER
'F0230' AS 'SALARIES' LABEL R6 OVER
'F0240' AS 'BENEFITS' LABEL R7 OVER
'F0350' AS 'DEPRECIATION' LABEL R8 OVER
'OPEREXPENSES' GET CHILDREN 1 ADD AS CAPTION LABEL R9
HEADING
" "
FOOTING
""

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


WebFocus 7.6.8
iWay Data Migrator 7.6.8
PMF 5.1
 
Posts: 83 | Registered: March 28, 2006Report This Post
Expert
posted Hide Post
Just specify the order you want by changinf the FOR syntax -

TABLE FILE COA_RELATIONSHIPS
SUM 
FFBD_ACTUAL/P12.2CM AS 'Actual'
FOR
ACCOUNT
"Operational Expenses:" LABEL R5 OVER 
'F0350' AS 'DEPRECIATION' LABEL R8 OVER 
'F0240' AS 'BENEFITS' LABEL R7 OVER 
'F0230' AS 'SALARIES' LABEL R6 OVER 
'OPEREXPENSES' GET CHILDREN 1 ADD AS CAPTION LABEL R9
"Operational Revenues:" LABEL R1 OVER
'OPERREVENUES' GET CHILDREN 1 ADD AS CAPTION LABEL R2 OVER 
'OPERREVENUES' ADD ALL AS CAPTION LABEL R3 OVER 
" " LABEL R4 OVER 

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
thnx Tony,

I think I didn't phraze my question correctly...

When the childers are presented due to the "show childern" option selection on the parent row in FML GUI matrix, the children are sorted by account number on the report. Is there a way to control that it is sorted by name of the account (account_caption column)?
thnx
Endre


WebFocus 7.6.8
iWay Data Migrator 7.6.8
PMF 5.1
 
Posts: 83 | Registered: March 28, 2006Report 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] FML - Sorting other than Account Number

Copyright © 1996-2020 Information Builders