Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] WRAPPING Long text in footing
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] WRAPPING Long text in footing
 Login/Join
 
Member
posted
Hi,

I am having A3000 length field which needs to be shown in footing .when we have this long dynamic field in footing its not working .But Same long text field is working in TABFOOTING.

-SET &FOOT_TEXT = 'At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, *** soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.';

TABLE FILE CAR
SUM
COMPUTE FOOT_TEXT/A1200 = '&FOOT_TEXT'; NOPRINT
SALES
BY COUNTRY
BY CAR
BY MODEL

FOOTING
" "
"<FOOT_TEXT"

ON TABLE SUBFOOT
" "
"<FOOT_TEXT"

ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *
 UNITS=IN,
     PAGESIZE='Letter',
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
     MARKUP=ON,
$
TYPE=REPORT, FONT=ARIAL, SIZE=10, $
TYPE=TABFOOTING, SIZE=8, WRAP=10,COLOR=BLUE , $
TYPE=FOOTING, SIZE=8, WRAP=10,COLOR=RED, $

END
-RUN



WF- 8105
OUTPUT FORMAT- PDF

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 11 | Registered: August 29, 2019Reply With QuoteReport This Post
Expert
posted Hide Post
Remember the documentation.

The WRAP syntax hasn't changed in recent releases so the following link should help you - WRAP Doc

You will learn that there are only certain TYPEs that can contain WRAP syntax.

General rule if you intend to hand code everything and bypass using the GUI - learn from the documentation and check it always when you have an issue to make sure you are following documented syntax.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5637 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Member
posted Hide Post
If WRAP is not way to show long dynamic
text field in page footing is there any alternative way is there. I know we can chunk long text into multiple lines using substring but this will be fine if the text is static.
 
Posts: 11 | Registered: August 29, 2019Reply With QuoteReport This Post
Expert
posted Hide Post
Are you using a variable to provide the footing text?

If so then you could use dialogue manager to split the text into separate variables.

The next question would be, are you using the text editor to code or the GUI?

If using the text editor then you could include dialogue manager to add as many lines of footing as you need to include all of the variables that you've split the original into.

Of course, if you're using the GUI to build the report then you cannot have dialogue manager so you are back to square one.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5637 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Member
posted Hide Post
Hi Tony, Value for footing will come from one of the table column .To demonstrate i have hard coded
values in Set variable .
 
Posts: 11 | Registered: August 29, 2019Reply With QuoteReport This Post
Guru
posted Hide Post
What is the format of your memo field? If its TX or something, change it to A1000 or so in the .mas file and try it again.


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 256 | Location: Houston,TX | Registered: June 11, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] WRAPPING Long text in footing

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.