Hi, I got quite Long Subheads and with PDF it gets cut. when I use ... type_subhead, wrap = 3, ... then I get a line break but just in this wraped area. Is there a Chance to just make out of a Long string a Multi line string?
The thing is, I want to use the variables out of my SQL like on whatever subhead "whatever So I can't split it by myself.
Thanks.This message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS 8.1.05 Windows, All Outputs
March 07, 2018, 12:52 PM
BabakNYC
I think if your field is a TX field it'll wrap automatically. I tried this code and seems to work. Hopefully it'll be useful for your example.
DEFINE FILE CAR
TEXTF/TX256 WITH COUNTRY='BLAH BLAH BLAH XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX YYYYYYYYY ZZZZZZZZZ BLAH BLAH BLAH BLAH BLAH BLAHBLAH BLAH BLAHBLAH BLAH BLAH XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX YYYYYYYYY ZZZZZZZZZXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX YYYYYYYYY ZZZZZZZZZXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX YYYYYYYYY END OF TEXT';
END
TABLE FILE CAR
BY COUNTRY SUBHEAD
"<TEXTF"
ON TABLE PCHOLD FORMAT PDF
END