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     [CASE-OPENED] HTML Freeze Heading/Column Titles

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] HTML Freeze Heading/Column Titles
 Login/Join
 
Guru
posted
Okay, I've searched FP and found some posts on this issue. I read them all and followed the IBI directions for freezing headings. I went to Options/Features and chose Top. Code:
 TYPE=REPORT,
     HFREEZE=TOP,
     SCROLLHEIGHT=5.000000,
$ 


I get this error:
 Message: 'this.freezeTableSections.length' is null or not an object
Line: 50
Char: 9
Code: 0
URI: http://.../ib.../js/ibihfreezeVer.js
 


So I thought maybe the type needed to be HEADING so I changed the code to;
 TYPE=HEADING,
     HFREEZE=TOP,
     SCROLLHEIGHT=5.000000,
$ 


Well that didn't work, got this error message;
 (FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 681: HFREEZE=TOP

 


One of the posts advised using this set command;
SET WEBVIEWER ON 

Again, didn't work. I got this error message;
 (FOC209) THE DATA VALUE EXCEEDS ITS LENGTH SPECIFICATION: WEBVIEWER ON
 (FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE 681: HFREEZE=TOP
 


Is it really this difficult to freeze the heading in HTML output??

Anyone have any idea what I'm doing wrong or have something that worked for you?

Thanks
Michelle

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


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Guru
posted Hide Post
This is all being done in Dev Studio


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Expert
posted Hide Post
Works as expected for me, 7.7.03M on 7.7.04 Server:
  
TABLE FILE CAR
PRINT CAR COUNTRY BODYTYPE FUEL DCOST RCOST 
ON TABLE SUMMARIZE
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=0.250000, RIGHTMARGIN=0.250000,
    TOPMARGIN=0.250000, BOTTOMMARGIN=0.250000, SQUEEZE=ON,
    ORIENTATION=PORTRAIT, $
TYPE=TITLE, FONT='TIMES NEW ROMAN', SIZE=9, COLOR=WHITE, BACKCOLOR=BLACK,
    STYLE=BOLD, BORDER=1, $
TYPE=REPORT,
     HFREEZE=TOP,
     SCROLLHEIGHT=3.000000,
     SIZE=9,
$ 
ENDSTYLE
END


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
Tom, thank you for responding.
I pasted your code into the command console and it didn't work. I got the same error message. Then I noticed your code didn't have
 ON TABLE SET HTMLCSS ON 
. So I added that and it still didn't work. We did an upgrade to 7.7.04 and to server 7.7.04 recently, however, had so many problems we went back to 7.7.03, I'm not sure if the server was also reverted back to 7.7.03. My guess is that it was since it works for you on 7.7.04 and not me. Your response has helped point me in the right direction. Thank You.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Member
posted Hide Post
Tom's code worked for me and we are on 7.7.03 and 7.7.03 Hotfix 19.

It worked with and without ON TABLE SET HTMLCSS ON.
 
Posts: 18 | Registered: January 12, 2011Report This Post
Guru
posted Hide Post
Thank you Jeff,
So HF 19, the last HF we did was 6. This may be our problem.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Guru
posted Hide Post
After my colleague and I did some testing. We discovered that the GUI puts in these two SETS;
 ON TABLE SET WEBVIEWER ON
ON TABLE SET WEBVIEWTARG OFF 

and when I add them to Tom's car file sample, it works.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Expert
posted Hide Post
BTW, HotFix 6 is the latest...
7703 HotFix


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
@Tom, I hadn't heard of 19 and thought we were up to date.

I put the SETS into my orig code and get a different error now. I'm wondering if the fact that I have subheads also is confusing the HFREEZE.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Member
posted Hide Post
Oh... I was looking at the message "WebFOCUS Version 7.7.03 compiled and linked on Thu Sep 8 14:55:52 EDT 2011 (Gen branch7703_hotfix:19)." I did not realize 19 was the gen number not the hotfix number. So we are on hotfix 2. But glad you fix it anyway.
 
Posts: 18 | Registered: January 12, 2011Report This Post
Expert
posted Hide Post
I have HFREEZE working and never had to fiddle with it. Hotfix 6.

Never had to use

ON TABLE SET WEBVIEWER ON
ON TABLE SET WEBVIEWTARG OFF
.


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
I started a new fex on the car file and used only the GUI and it did not generate the
two sets, it also did not work. I have uploaded my car file example to the case I have
opened. Most days I think my computer is possessed! Thanks for the help.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Expert
posted Hide Post
Again, using a Subhead works for me. You probably have other conflicts in your styling, just a guess.
We don't use the GUI, and, ditto Francis' comment... Glad you opened a case as it seems something else is wrong...

This works for me:
  
TABLE FILE CAR
PRINT CAR COUNTRY BODYTYPE FUEL DCOST RCOST
  BY COUNTRY NOPRINT
ON COUNTRY SUBHEAD
"This is a Subheading"
" "
ON TABLE SUMMARIZE
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=0.250000, RIGHTMARGIN=0.250000,
    TOPMARGIN=0.250000, BOTTOMMARGIN=0.250000, SQUEEZE=ON,
    ORIENTATION=PORTRAIT, $
TYPE=TITLE, FONT='TIMES NEW ROMAN', SIZE=9, COLOR=WHITE, BACKCOLOR=BLACK,
    STYLE=BOLD, BORDER=1, $
TYPE=REPORT,
     HFREEZE=ON,
     SCROLLHEIGHT=3.000000,
	 SIZE=9,
$
ENDSTYLE
END


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
Yes, I am just stumped.
A straight copy of your working code sample doesn't work in my environment.

This is my non working, super simple example I uploaded to the case;

TABLE FILE CAR
PRINT
     CAR.CARREC.MODEL
     CAR.BODY.BODYTYPE
     CAR.BODY.SEATS
BY  LOWEST CAR.COMP.CAR
HEADING
"Testing HFREEZE"
" "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
     HFREEZE=TOP,
     SCROLLHEIGHT=6.000000,
$
ENDSTYLE
END
  


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Expert
posted Hide Post
BTW, Hotfix 6 needs to be applied on your desktop for Dev Studio. ALL users of Dev Studio need the HotFix, fyi...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
Thank you Tom. I have applied it to my desktop and
the HFREEZE still does not work. The last I heard
from IBI was, they will look at my file I uploaded.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Expert
posted Hide Post
Well!

I tried running your super simple example in Dev Studio localhost and got the error!

Will investigate.


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
Thank you Francis! It's not just me!


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Expert
posted Hide Post
So, it doesn't work in my Dev Studio hotfix 6 environment, but it does work in our server hotfix 5 environment.


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
Expert
posted Hide Post
quote:
TABLE FILE CAR
PRINT
CAR.CARREC.MODEL
CAR.BODY.BODYTYPE
CAR.BODY.SEATS
BY LOWEST CAR.COMP.CAR
HEADING
"Testing HFREEZE"
" "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
HFREEZE=TOP,
SCROLLHEIGHT=6.000000,
$
ENDSTYLE
END


I get Francis' error in localhost, also. So, let us know how your case turns out...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Guru
posted Hide Post
********************** COMMENTS FROM INFORMATION BUILDERS **********************

Michelle,
I tested this with the GGSALES file, just to produce more output, and
it looks like it is not working in the 7.7.03 release.
It works fine in the 7.6 releses .

If also works ok when going against the 7.7.04 reporting server.

Thank You, B.J.

********************************************************************************


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Guru
posted Hide Post
Latest on this issue, and changing to [CASE-OPENED] until it is really solved.

********************** COMMENTS FROM INFORMATION BUILDERS **********************
...in testing this particualar issue, it seems that is is fixed
in the 7.7.04 release, based on our in-house testing.

Is this someting that can wait, till you can again upgrade to 7.7.04 ?

(my answer was no)

Ok, will go ahead and see if a fix can be made available to 7.7.03


********************************************************************************


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Report This Post
Member
posted Hide Post
I am using Server 7.7.04 with hotfix 6 and the above code (with car file) works. However, you need to changed the scrollheight to something smaller if you actually want to see the scroll bar working.


WebFOCUS 8.1.0.5m
 
Posts: 26 | Registered: October 09, 2007Report 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     [CASE-OPENED] HTML Freeze Heading/Column Titles

Copyright © 1996-2020 Information Builders