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

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
PDF and Wrap
 Login/Join
 
Silver Member
posted
I'm running 5.21 WebFOCUS on Windows 2000. Does anyone know why the page number would not be printed when using PDF and WRAP?

This sample code will not display the actual page number. If I remove the WRAP, it will.
TABLE FILE CAR
PRINT MODEL
BY MODEL NOPRINT
ON TABLE PCHOLD FORMAT PDF
FOOTING BOTTOM
"Page ON TABLE SET STYLE *
TYPE=REPORT, FONT='TIMES NEW ROMAN', SIZE=10, COLOR=BLACK, BACKCOLOR=NONE,
STYLE=NORMAL, WRAP=8, $
ENDSTYLE
END

Any ideas are appreciated.

Thanks.
 
Posts: 31 | Location: Oklahoma City, OK | Registered: September 11, 2003Reply With QuoteReport This Post
Platinum Member
posted Hide Post
It seems that WRAP is affecting FOOTING, adjusting each item of footing to each column.
If you don't want remote WRAP, there are two litle tricks to solve this issue:

Problem:

TABLE FILE CAR
PRINT
CAR
BY COUNTRY
FOOTING BOTTOM
"PAGE ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=INCHES, $
TYPE=REPORT, WRAP=3, $
END

Trick 1 - Define FOOTING style with specific WRAP:
TABLE FILE CAR
PRINT
CAR
BY COUNTRY
FOOTING BOTTOM
"PAGE ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=INCHES, $
TYPE=REPORT, WRAP=3, $
TYPE=FOOTING, WRAP=.5, $
END

Trick 2 - Define a unique page string using COMPUTE (=only 1 FOOTING item):

TABLE FILE CAR
PRINT
CAR
COMPUTE PAGESTR/A16 = 'PAGE: ' | FTOA(TABPAGENO, '(F5)', 'A5') ; NOPRINT
BY COUNTRY
FOOTING BOTTOM
" ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=INCHES, $
TYPE=REPORT, WRAP=3, $
END

Regards,
Mikel

This message has been edited. Last edited by: <Mabel>,
 
Posts: 173 | Location: Madrid, Spain | Registered: May 09, 2003Reply With QuoteReport This Post
Silver Member
posted Hide Post
Mikel, thanks. I used option 1 that you gave me and it worked. Learn something new every day.

Thanks again.
Raelene
 
Posts: 31 | Location: Oklahoma City, OK | Registered: September 11, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 


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