Focal Point
Report Footer Question...

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

November 09, 2006, 05:18 PM
Tomsweb
Report Footer Question...
In Dev. Studio I have created reports with footer formated as coded here:


"Report Prepared On:<+0> <+0>&DATEtrMDYY <+0> <+0>Page:<+0> <TABPAGENO <+0>of<+0> <TABLASTPAGE"

When I run it in browser and print it I see that 'Page: a of b' displays right next to the "Report Prepared On:<+0> <+0>&DATEtrMDYY"
element.


Anyone have a suggestion to add maybe 10-15 spaces between these elements?

Thanks, Confused


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
November 09, 2006, 05:31 PM
.eric
I would think you would need to add something like this to the styling of the report. Each space between the <+0> represents 1 item.

"Report Prepared On:&DATEtrMDYY <+0> Page: <TABPAGENO of <TABLASTPAGE"

TYPE=FOOTING, LINE=1, WIDTH=2, ITEM=1, $
TYPE=FOOTING, LINE=1, WIDTH=2, ITEM=2, $

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
November 09, 2006, 05:38 PM
Tomsweb
I need to add at least 10 spaces in between the item 1 and item 2.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
November 09, 2006, 05:46 PM
.eric
Why not set the width of Item 1 to say 3-4 (inches), it should provide the extra space that you need.


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
November 09, 2006, 06:06 PM
Prarie
Here's a way to make spaces.
DEFINE FILE CAR
SP/A1 = HEXBYT(160, 'A1');
SP02/A2 = SP|SP;
SP05/A05 = SP|SP|SP|SP|SP;
SP10/A10 = SP05|SP05;
END

Then you just insert SP10 where ever you need.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Prarie,

I tried this and it works quite well.
Actually at this time I am doing this...

<SP20 &FOCFOCEXEC <SP20

Thanks for the info!

Tomsweb


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
I'm guessing your output is HTML but if you are displaying in PDF you can do something like this:

TABLE FILE CAR
SUM
  RETAIL_COST
BY COUNTRY
ON TABLE PCHOLD FORMAT PDF
ON TABLE SUBFOOT
"HI<+10>BYE"
END

i don't know if HEADALIGN=BODY works for footers...there's an nfr for you,
but also, along the lines of Prarie's suggestion
when i need to force some spaces
HEADING
" &|nbsp; &|nbsp; &|nbsp; &|nbsp; myheading"

html will honor 1 space then i force in an explicit space, using the escape character after the &. So this example gives me 8 space in total before the myheading bit.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID