1) Run this then VIEW Source. 2) Save it as test.html (or a name of you choice). 3) Access it from your browser. 4) Note the similarity (should be the same either way). 5) Search for ">Store WTD<" and delete the 4 lines, starting with the line 4TH line after that one [ ">TR<" ) and the following 3 lines [ to and including: ">/TR<" ). Refer to this image. 6) Save it and refresh it in the browser.
You should see a similar display. But, without that pesky line between HEADING and BODY.
Now, if that is the case: What needs to modifications need to the above code to make that happen within the fex?This message has been edited. Last edited by: Kerry,
September 28, 2011, 01:58 PM
Sayed
Comment out HTMLCSS ON
ON TABLE SET LINES 999999
-*ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
That seems to work for me.
Thanks, Sayed
WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
September 28, 2011, 02:02 PM
njsden
I share your frustration but this has been an on-going issue for ages.
The only way to remove that line (at least that I know of) is to get rid of any BORDER / GRID in your Style Sheet, which you may not want to do.
You may try then to use external CSS classes to get the borders back but I don't now if that would still remove the line and will definitely require more maintenance. In addition, output formats such as PDF would not be supported.
Finally, if HTML is the only output, some Javascript magic might help to get rid of that line ...
ON TABLE SET LINES 999999 -*ON TABLE SET HTMLCSS ON
I need those borders..
September 29, 2011, 09:16 AM
dbeagan
I recently experimented with this, came up with the prototype below. Discovered that if LINES is greater than 998 then space is added above the heading.
APP PATH IBISAMP
SET LINES=998
SET PAGE=NOLEAD
SET HTMLCSS=ON
TABLE FILE SYSCOLUM
"TABLE=<TBNAME"
PRINT NAME COLNO USAGE ACTUAL TITLE COLTYPE LENGTH SCALE NULLS
KEYSEQ FOREIGNKEY INDEXED XTLEN HELPMESSAGE REMARKS LONGDESC
BY COLNO NOPRINT
BY TBNAME NOPRINT
WHERE TBNAME EQ 'GGSALES'
ON TABLE SET STYLE *
type=report, pagecolor=rgb(235 235 240), color=rgb(66 70 73), font=arial, size=9, grid=off, $
type=heading, style=bold, size=12, justify=left, $
type=title, backcolor=rgb(102 102 102), color=rgb(255 255 255), style=-underline+bold, $
type=data, backcolor=(rgb(255 255 255) rgb(235 235 240)), $
END
WebFOCUS 8.2.06
September 29, 2011, 09:31 AM
Francis Mariani
dbeagan, this is interesting! I was wondering why I had space above the heading in v7.7.03 with LINES = 999999. I don't recall this occurring in 7.6 versions.
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
September 29, 2011, 09:31 AM
Doug
I see your point and I like it (as weird, and undocumented?) as it is).
However, I want the line between the HEADING and BODY to be removed, as you example does, without losing my border lines. Add "type=DATA, BORDER=LIGHT,$" to your code and see how the borders show up, as required, BUT, that pesky extra line comes back between the HEADING and BODY (Not Acceptable).This message has been edited. Last edited by: Doug,
September 29, 2011, 11:32 AM
Francis Mariani
Doug, this is an age-old problem.
In 2009, Guru Mickey suggests using a table heading (ON TABLE SUBHEAD) instead of a regular heading, though that will print the heading on only the first page.
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