Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] WebFOCUS 8.2.04 and TITLETEXT
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] WebFOCUS 8.2.04 and TITLETEXT
 Login/Join
 
Master
posted
Is anyone getting errors when they code
TYPE=REPORT, TITLETEXT='tab name', $ 
in a COMPOUND EXCEL sheet?

The error: "The embedded style sheet has an error in line 61. Keyword has illegal value: TITLETEXT='Inv. Rpt"

This message has been edited. Last edited by: FP Mod Chuck,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 538 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Hello,

Mine is working fine for both XLSX and ELX2K.
What format are you using?
Can you provide some sample code?


WebFOCUS 7.X.X, 8.X.X
Windows, All Outputs
 
Posts: 81 | Registered: February 02, 2016Reply With QuoteReport This Post
Guru
posted Hide Post
It looks like you have an extra quote at the tabname:

ITLETEXT='Inv. Rpt"

should be

ITLETEXT='Inv. Rpt'


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 399 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Frans, That's wierd, the 'extra quote" only shows in the error message, not in the code.
quote:
TYPE=REPORT, TITLETEXT='tab name', $


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.
 
Posts: 3004 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
quote:
The error: "The embedded style sheet has an error in line 61. Keyword has illegal value: TITLETEXT='Inv. Rpt"

Or is it a missing single quote mark? It looks like the message ends in a double quote character which could be the counterpart to the opening double quote character.


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
 
Posts: 138 | Registered: October 19, 2010Reply With QuoteReport This Post
Master
posted Hide Post
No, it is a mighty slippery fish.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 538 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport This Post
Master
posted Hide Post
[QUOTE]Originally posted by Tomsweb:
No, it is a mighty slippery fish.
I played with this quite a bit and it works. Whew!!!
Since the documentation is an embarrassment, it does not
appear that the App Studio UI provides the ability to
enter text for the TITLETEXT tag. Hence we have "to pin the
tail on the donkey with one eye closed" and hope for the best.


TABLE FILE CAR
BY  CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL

ON TABLE SET XLSXPAGESETS ON
ON TABLE SET HTMLCSS ON

ON TABLE PCHOLD FORMAT EXL2K OPEN
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
TYPE=REPORT,
     TITLETEXT='Country Report',
     FONT='IBIDEFAULT',
     SIZE=14,
     COLOR='BLACK',
$
TYPE=DATA,
     SIZE=12,
     COLOR='RED',
     STYLE=ITALIC,
$
TYPE=TITLE,
     SIZE=13,
     COLOR='BLUE',
	 BACKCOLOR='WHITE',
     STYLE=BOLD+UNDERLINE,
$
ENDSTYLE
END


TABLE FILE CAR
SUM SALES
BY  CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL

ON TABLE SET XLSXPAGESETS ON
ON TABLE SET HTMLCSS ON

ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
TYPE=REPORT,
     TITLETEXT='Sales Report',
     FONT='IBIDEFAULT',
     SIZE=14,
     COLOR='BLACK',
$
TYPE=DATA,
     SIZE=12,
     COLOR='WHITE',
	 BACKCOLOR='BLACK',
     STYLE=ITALIC,
$
TYPE=TITLE,
     SIZE=13,
     COLOR='WHITE',
	 BACKCOLOR='GREEN',
     STYLE=BOLD+UNDERLINE,
$
ENDSTYLE
END


TABLE FILE CAR
SUM DEALER
BY  CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL

ON TABLE SET XLSXPAGESETS ON
ON TABLE SET HTMLCSS ON

ON TABLE PCHOLD FORMAT EXL2K CLOSE
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
TYPE=REPORT,
     TITLETEXT='Dealer Report',
     FONT='IBIDEFAULT',
     SIZE=14,
     COLOR='BLACK',
$
TYPE=DATA,
     SIZE=12,
     COLOR='WHITE',
	 BACKCOLOR='GREEN',
     STYLE=ITALIC,
$
TYPE=TITLE,
     SIZE=13,
     COLOR='BLUE',
     STYLE=BOLD+UNDERLINE,
$
ENDSTYLE
END 


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 538 | Location: Baltimore, MD | Registered: July 06, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
Excellent Tom! The only thing I'd change, besides those beautiful colors, is 'EXL2K' to 'XLSX'. But, I understand that this is just a POC. I'm keeping a copy, and reference, in my tool box so that I don't need to 'reinvent the wheel'.
Smiler
 
Posts: 3004 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] WebFOCUS 8.2.04 and TITLETEXT

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.