Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Page <TABPAGENO of <TABLASTPAGE formatting issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Page <TABPAGENO of <TABLASTPAGE formatting issue
 Login/Join
 
Gold member
posted
When I try to use the "Page TABPAGENO of TABLASTPAGE" feature, there are large gaps between the numbers. How can I remove the extra spacing/gaps?

TABLE FILE CAR
SUM
DEALER_COST NOPRINT
HEADING
"Page TABPAGENO of TABLASTPAGE"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
SQUEEZE=ON,$
TYPE=HEADING,
FONT='ARIAL',
SIZE=8,
COLOR=RGB(66 70 73),
STYLE=NORMAL,
$
END

Result:
Page 1 of 1

I need the output to look like:
Page 1 of 1

Any ideas?

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.2.03
z/OS
 
Posts: 66 | Registered: May 20, 2013Report This Post
Gold member
posted Hide Post
Ok, so this site is suppressing the extra spaces in the result. But trust me, there are large gaps between TABPAGENO and TABLASTPAGE.


WebFOCUS 8.2.03
z/OS
 
Posts: 66 | Registered: May 20, 2013Report This Post
<Kathryn Henning>
posted
Hi Joel,

You can do this with COMPUTE statements:

 
TABLE FILE GGSALES
SUM UNITS
DOLLARS
COMPUTE
ATABPAGENO/A5 = FPRINT(TABPAGENO,'I5','A5'); NOPRINT
COMPUTE
ATABLASTPAGE/A5 = FPRINT(TABLASTPAGE,'I5','A5'); NOPRINT
COMPUTE
PPG /A20 = 'PAGE' ||  (' ' | LJUST(5,ATABPAGENO,'A5')) || ' OF'
            || (' ' | LJUST(5,ATABLASTPAGE,'A5')); NOPRINT
BY REGION PAGE-BREAK
BY PRODUCT
HEADING
" <PPG "
ON TABLE SUBFOOT
"<TABLASTPAGE"
ON TABLE SET STYLE *
TYPE=FOOTING, JUSTIFY=CENTER,$
TYPE=TABFOOTING, SIZE=1,$
END


Regards,

Kathryn
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Page <TABPAGENO of <TABLASTPAGE formatting issue

Copyright © 1996-2020 Information Builders