Focal Point
[CLOSED] TABLASTPAGE Left justifiy

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8447025176

July 03, 2014, 10:46 AM
jlsnyc
[CLOSED] TABLASTPAGE Left justifiy
How to left justify the TABLASTPAGE

Example: we are getting Page: 1 of .... 3

the 3 is right jusyified.


We want Page: 1 of 3


Code is
ON TABLE SUBFOOT
"Page: TABPAGENO of TABLASTPAGE"

This message has been edited. Last edited by: <Kathryn Henning>,
July 03, 2014, 11:18 AM
Tony A
There have been many requests for this and I think the most informative and useable was one by Alan B back in March 2007 - a simple search on TABLASTPAGE gave loads of previous posts to look at.

To supplement Alan's code (link) from that time (and I guess that you're using PDF output? you didn't say). Note that I have used FOOTING instead of SUBFOOT as this doesn't work with SUBFOOT -

TABLE FILE CAR
  SUM RETAIL_COST
      DEALER_COST
COMPUTE NEWT/A9=LJUST(9, FPRINT(TABLASTPAGE, 'D7', 'A9'), 'A9'); NOPRINT
COMPUTE NEWP/A9=LJUST(9, FPRINT(TABPAGENO, 'D7', 'A9'), 'A9'); NOPRINT
   BY COUNTRY
   BY CAR
FOOTING
"Page: <NEWP of <NEWT <TABLASTPAGE"
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET LINES 999999
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
  type=footing, item=6, color=white, $
ENDSTYLE
END
-RUN

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 
July 03, 2014, 11:22 AM
Tony A
Just noticed another search item that shows Kathryn replied (link) to the exact same question in April this year.

Search saves you time Smiler

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