ON IN_DEPARTMENT SUBFOOT " " " <+0> <+0> <+0> CASES PURCHASED <+0> TOTAL COST <+0> TOTAL RETAIL <+0> TOTAL PROFIT PER CRP <+0> PERCENT OF PROFIT <+0> DEPT % TO COST <+0> DEPT % TO RETAIL" " "
HEADING "" "TEST"
WHERE ( IN_CUSTNO EQ 51600 ) AND ( IN_DATE GE DT(2011-04-30 00:00:00) ) AND ( IN_DATE LE DT(2011-05-06 00:00:00) ) AND ( PartSw NE 1 ); ON TABLE SET PAGE-NUM OFF ON TABLE SET BYDISPLAY ON ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, $ TYPE=TABFOOTING, JUSTIFY=RIGHT, HEADALIGN=BODY, $ TYPE=HEADING, LINE=1,
The heading ends up on the left hand side at the top and slides the data to the right, How would I center the title, either center it over the data or center it compared to the browser window, either one will work.
Also, how would it be possible to make a subhead act the same way as the subfoots are as they line up in coloumns and have the headings for each column, currently they repeat after every IN_DEPARTMENT, but i would like to have just one subhead on IN_CUSTNO
Thanks for the help!This message has been edited. Last edited by: Kerry,
HEADALIGN=BODY will force the report heading to be aligned to the first report column, remove HEADALIGN=BODY or add COLSPAN=nn to have the heading span multiple report columns.
Additionally, HEADALIGN=BODY must be set for all lines of a HEADING, it can't be set for just one line.
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