IF TEST EQ 'Y' THEN ITEMCODE |. .'.<.b.r. ./.>.'. .| NBITEMCODE ELSE ITEMCODE
the |. .'.<.b.r. ./.>.'. .| doesn't work in pdf
Thank you in advanceThis message has been edited. Last edited by: Charles Richards,
WebFOCUS 7.6 Windows, All Outputs
May 25, 2011, 04:52 PM
Prarie
What is the error you are getting.
May 25, 2011, 05:12 PM
Francis Mariani
The <br /> tag inserts a single line break in HTML only - this is not for PDF.
You wish to explain what you're trying to do...
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
May 26, 2011, 03:30 AM
Tony A
Try using HEXBYT(13,'A1') and HEXBYT(10,'A1') together with TYPE=REPORT,LINEBREAK='CRLF',$.
I will leave you to find out what each of those do because you will learn more if you try, because - If you give someone a fish then they eat well for one day .............
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
May 26, 2011, 07:07 PM
Waz
You could also try the classic code...
"....</1>..."
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
May 30, 2011, 10:19 AM
<JG>
quote:
"....</1>..."
Only in a heading/footing etc. not in the data.
May 30, 2011, 10:31 AM
GamP
You could also try something with MARKUP=ON. Thing is that there will be a difference between html and PDF output. But if you just PDF, this will produce a nice result:
DEFINE FILE CAR
SOMECOL/A80 = COUNTRY | '<br> ' | CAR | '<br> ' | MODEL;
SPACE/A1 = ' ';
END
TABLE FILE CAR
PRINT SOMECOL AS ''
OVER SPACE AS ''
OVER SPACE AS ''
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=CM, PAGESIZE='A4', LEFTMARGIN=0.635000, RIGHTMARGIN=0.635000,
TOPMARGIN=0.635000, BOTTOMMARGIN=0.635000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE, $
TYPE=REPORT, FONT=ARIAL, SIZE=10, MARKUP=ON, LINEBREAK='CRLF', $
ENDSTYLE
END
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
May 30, 2011, 06:25 PM
Waz
quote:
Only in a heading/footing etc. not in the data
True, but charles does not state where the field will be going.