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     FML FOR field formatting

Read-Only Read-Only Topic
Go
Search
Notify
Tools
FML FOR field formatting
 Login/Join
 
Platinum Member
posted
I'm trying to format the FOR field in an FML report. I'd like to have the Caption of the FOR field to be BOLD, but not the entire row.

The only thing I've found so far is
 
SET PAGE-NUM=OFF
TABLE FILE LEDGER
SUM AMOUNT 
FOR ACCOUNT
10$$ AS 'CASH'                LABEL CA   OVER
1100 AS 'ACCOUNTS RECEIVABLE' LABEL AR   OVER
1200 AS 'INVENTORY'           LABEL INV  OVER
RECAP CURASST/I5C = CA + AR + INV;
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=OFF, $
TYPE = REPORT, LABEL = CA, STYLE = BOLD, $ 
ENDSTYLE
END
where the entire CASH row is bold.

Can using TYPE = COLUMN do this?

Thanks,
Bethany

Server Environment:
Win2K3 Server
WebFOCUS 7.13
Apache Tomcat standalone application server


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Virtuoso
posted Hide Post
You should just be able to specify a column to get what you need.

TYPE = REPORT, LABEL = CA, COLUMN=N1, STYLE = BOLD, $


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
Thanks, that works. Now, how would you do the same thing for a report that uses a hierarchy. My FOR field is SUM_ID in the example below and I would like all of the CAPTIONS to be bold.

Example
TABLE FILE VU_ACCT_HIER
SUM
BUDGET AS 'Revised Annual,Budget'
ACTUAL AS 'Actuals'
COMPUTE CYREMAIN/D12.2 = BUDGET - ACTUAL; AS 'Remaining'
COMPUTE CYUSED/D12.2% = (ACTUAL/BUDGET) * 100; AS 'CY,% Used'
LYEDACT AS 'Last Year End,Actuals'
LYTDACT AS 'LYTD,Actuals'
COMPUTE PYREMAIN/D12.2 = LYEDACT - LYTDACT; AS 'LY Used'
COMPUTE PYUSED/D12.2% = (LYTDACT/LYEDACT) * 100; AS 'LY,% Used'
FOR SUM_ID
"OPERATING REVENUE"                       OVER
25 WITH CHILDREN 2 WHEN EXISTS AS CAPTION OVER
BAR OVER
25 ADD AS 'OPERATING REVENUE TOTAL' LABEL REV OVER
BAR OVER
"SALARY EXPENSE"                           OVER
38 WITH CHILDREN ALL WHEN EXISTS AS CAPTION LABEL FACULTY OVER
39 WITH CHILDREN ALL WHEN EXISTS AS CAPTION LABEL STAFF OVER
40 WITH CHILDREN ALL WHEN EXISTS AS CAPTION LABEL RESEARCH OVER
41 WITH CHILDREN ALL WHEN EXISTS AS CAPTION LABEL STUDENT OVER
42 WITH CHILDREN ALL WHEN EXISTS AS CAPTION LABEL TEMP OVER
43 WITH CHILDREN ALL WHEN EXISTS AS CAPTION LABEL OTHER OVER
BAR OVER
RECAP SALTOT = FACULTY + STAFF + RESEARCH + STUDENT + TEMP + OTHER; AS 'SALARY EXPENSE TOTAL'  OVER
RECAP SALTOT(4) = (SALTOT(2)/SALTOT(1)) * 100;  OVER
RECAP SALTOT(8) = (SALTOT(6)/SALTOT(5)) * 100;  OVER
BAR OVER
44 WITH CHILDREN ALL WHEN EXISTS AS CAPTION LABEL FRINGE OVER
BAR OVER
"NON-SALARY DIRECT EXPENSE" OVER
46 WITH CHILDREN 1 WHEN EXISTS AS CAPTION OVER
BAR OVER
46 ADD AS 'NON-SALARY DIRECT EXPENSE TOTAL' LABEL EXP OVER
BAR OVER
RECAP EXPTOT = SALTOT + FRINGE + EXP; AS 'OPERATING EXPENSE TOTAL' OVER
RECAP EXPTOT(4) = (EXPTOT(2)/EXPTOT(1)) * 100;  OVER
RECAP EXPTOT(8) = (EXPTOT(6)/EXPTOT(5)) * 100;  OVER
BAR OVER
RECAP ALLTOTAL = REV - SALTOT - FRINGE - EXP; AS 'TOTAL' OVER
RECAP ALLTOTAL(4) = (ALLTOTAL(2)/ALLTOTAL(1) * 100);  OVER
RECAP ALLTOTAL(8) = (ALLTOTAL(6)/ALLTOTAL(5) * 100);  OVER
BAR AS '='
END  


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report This Post
Virtuoso
posted Hide Post
so instead of using REPORT= and LABEL=, you can just use

TYPE=DATA, COLUMN=N1, STYLE=BOLD,$

just like you would for a normal report. The FOR column is N1 and since it's represented by a caption that caption becomes column N1.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Platinum Member
posted Hide Post
Thanks again. It's always hard trying to figure out the styling when you start in the code.

Bethany


Server Environment: Win2K3 Server WebFOCUS 7.13 Apache Tomcat standalone application server
 
Posts: 188 | Registered: April 14, 2005Report 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     FML FOR field formatting

Copyright © 1996-2020 Information Builders