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.
FOOTING BOTTOM
"____________________________________<0X
_____________________________________<0X
_____________________________________<0X
______________________________"
"Run Date: &DATEMDYYYY &TOD2 <+0>XXXXXXXXXXXX <0X
XXXXXXXXXXXXXX XXXXXX<+0>Report No: &REPORTNO <0X
<+0>Page:<+0><TABPAGENO<+0>of<+0><TABLASTPAGE"
ON TABLE SET STYLE *
TYPE = FOOTING,LINE=1,ITEM=1,JUSTIFY=CENTER,COLSPAN=10,$
TYPE = FOOTING,LINE=2,ITEM=1,WIDTH=2,JUSTIFY=LEFT,$
TYPE = FOOTING,LINE=2,ITEM=2,WIDTH=4.5,STYLE=BOLD+ITALIC,JUSTIFY=RIGHT,$
TYPE = FOOTING,LINE=2,ITEM=3,WIDTH=2.5,JUSTIFY=RIGHT,$
TYPE = FOOTING,LINE=2,ITEM=4,WIDTH=0.5,JUSTIFY=RIGHT,$
TYPE = FOOTING,LINE=2,ITEM=5,WIDTH=0.2,JUSTIFY=CENTER,$
TYPE = FOOTING,LINE=2,ITEM=6,WIDTH=0.1,JUSTIFY=CENTER,$
TYPE = FOOTING,LINE=2,ITEM=7,WIDTH=0.2,JUSTIFY=CENTER,$
ENDSTYLE
Now the problem is - in my page: x of y that appears on the report footer , whenever x is single/double digit it looks atleast fine but when it becomes more than 2 digits the spacing between each of 'Page' 'x' 'of' 'y' gets reduced and they look like the following-
page700of700.
I want a single space between each of the 'page:' 'x' 'of' and 'y' irrespective of the no. of digits in x and y.How do i do it.I am using WIDTH to position the footers.
If you want to ensure a space use the HTML no break space as follows:
FOOTING BOTTOM
"____________________________________<0X
_____________________________________<0X
_____________________________________<0X
______________________________"
"Run Date: &DATEMDYYYY &TOD2 <+0>XXXXXXXXXXXX <0X
XXXXXXXXXXXXXX XXXXXX<+0>Report No: &REPORTNO <0X
<+0>Page:&|nbsp;<TABPAGENO of <TABLASTPAGE"
ON TABLE SET STYLE *
TYPE = FOOTING,LINE=1,ITEM=1,JUSTIFY=CENTER,COLSPAN=10,$
TYPE = FOOTING,LINE=2,ITEM=1,WIDTH=2,JUSTIFY=LEFT,$
TYPE = FOOTING,LINE=2,ITEM=2,WIDTH=4.5,STYLE=BOLD+ITALIC,JUSTIFY=RIGHT,$
TYPE = FOOTING,LINE=2,ITEM=3,WIDTH=2.5,JUSTIFY=RIGHT,$
TYPE = FOOTING,LINE=2,ITEM=4,WIDTH=0.5,JUSTIFY=RIGHT,$
ENDSTYLE
This should enforce a space wherever you want it. Make sure you use it in the form &|nbsp; so as WF doesn't think its an &var, it must have a semi-colon at the end.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
If the result gives a zero it is because you are not referencing the field TABLASTPAGE in the footing. You must reference it in the footing for it to be available in the TABLE request for the compute, just as I showed in the example. The kluge is to hide the field LASTTABPAGE in the footing so it doesn't show.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007