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]Headings not working...Getting an error message.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Headings not working...Getting an error message.
 Login/Join
 
Guru
posted
Hi,

Iam using the below piece of code but the headings are not getting printed under the heading section.
Could anyone please let me know how to get it working.

 DEFINE FILE CAR
FIRST_HEAD1/A20='Heading1';
SECOND_HEAD2/A10='Heading2';
A/A3='';
THIRD_HEAD3/A50='ABC Target = Under 10% >80% (First Tab Only)'
HEADING1/A5='>55%';
HEADING2/A5='>70%';
HEADING3/A5='>80%';
END

TABLE FILE CAR
PRINT 
CAR COUNTRY MODEL
HEADING
"Categories1"
"SOURCE:Categories2"
"Categories3"
" "
"<A<FIRST_HEAD1<SECOND_HEAD2<THIRD_HEAD3"
"<A<HEADING1<HEADING2<HEADING3"
ON TABLE PCHOLD FORMAT EXL07
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON,FONT='ARIAL', SIZE=8,GRID=OFF,
TYPE=HEADING,HEADALIGN=BODY,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=1,ITEM=1,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=2,ITEM=1,STYLE=BOLD+ITALIC,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=3,ITEM=1,STYLE=BOLD+ITALIC,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=4,ITEM=1,STYLE=NORMAL,COLOR='BLACK',JUSTIFY=CENTER,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=5,ITEM=1,COLSPAN=2,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=5,ITEM=2,COLSPAN=1,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=5,ITEM=3,COLSPAN=1,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=5,ITEM=4,COLSPAN=1,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=6,ITEM=1,COLSPAN=2,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=6,ITEM=2,COLSPAN=4,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=6,ITEM=3,COLSPAN=4,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
TYPE=HEADING,FONT='ARIAL',SIZE=8,LINE=6,ITEM=4,COLSPAN=5,STYLE=BOLD,COLOR='BLACK',JUSTIFY=CENTER,BORDER-TOP=MEDIUM,BORDER-BOTTOM=MEDIUM,BORDER-LEFT=MEDIUM,BORDER-RIGHT=MEDIUM,BACKCOLOR=RGB(210 210 210),BORDER-STYLE=SOLID,BORDER-COLOR=BLACK,$
ENDSTYLE
END
-RUN
-EXIT 


Iam getting the below error message when Iam running this code:
0 ERROR AT OR NEAR LINE 11 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC224) SYNTAX ERROR: HEADING1
0 ERROR AT OR NEAR LINE 24 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC406) THE FIELDNAME IS NOT RECOGNIZED: THIRD_HEAD3
BYPASSING TO END OF COMMAND
(FOC009) INCOMPLETE REQUEST STATEMENT

Thanks a lot in advance for your help!

Regards,
IP

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


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report This Post
Expert
posted Hide Post
Missing semi-colon?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
Yes you are right Francis...I didn't notice that.

Thanks a lotSmiler


Webfocus 8105 Developer studio,Windows 7,HTML,Excel,PDF,Text,Infoassist,Graph,AHTML
 
Posts: 270 | Registered: October 30, 2014Report 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]Headings not working...Getting an error message.

Copyright © 1996-2020 Information Builders