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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
line
 Login/Join
 
<John.lee>
posted
Hi
I want to draw a line in my report ,
can anyone help me doing in this.
Thanks in advance
 
Report This Post
Virtuoso
posted Hide Post
As in a subfooting or on a break in the sort? The UNDER-LINE option on a by field will give you a line.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
<John.lee>
posted
No i want to devide the box with lines to get more number of boxses as the data can fit in individual box ,i want to make some thing like table in my report.
 
Report This Post
Expert
posted Hide Post
John,

What box do you want to divide with lines?

Could you please be more specific, what is the report format, HTML, PDF, EXL2K? If it's HTML, you can turn the GRID ON in the style sheet.

One example of lines and boxes:
TABLE FILE CAR
PRINT
*
HEADING
"WEBFOCUS REPORT"
WHERE READLIMIT EQ 100
WHERE RECORDLIMIT EQ 100
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
GRID=ON, FONT='ARIAL', SIZE=8, $
END


Another example:
TABLE FILE CAR
PRINT
*
HEADING
"WEBFOCUS REPORT"
WHERE READLIMIT EQ 100
WHERE RECORDLIMIT EQ 100
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLESHEET *
BORDER=1, BORDER-COLOR=SILVER,
FONT='ARIAL', SIZE=8, $
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
As asked, what do you want to do?

TABLE FILE CAR
PRINT SALES
BY COUNTRY
BY CAR
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
TYPE=REPORT,BORDER=HEAVY,BORDER-STYLE=GROOVE,BORDER-COLOR=GREEN,$
TYPE=TITLE, BORDER=LIGHT, BORDER-STYLE=RIDGE, BORDER-COLOR=RED, $
TYPE=DATA, BORDER=LIGHT, BORDER-STYLE=SOLID, BORDER-COLOR=BLUE,$
ENDSTYLE
END


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
This is an old-style approach, as the new version of WF is supposed to have line/box-draw capabilities , but it's tried an true.
I have some images in our image library that are called HLINE, VLINE (for horizontal line and vertical line) and BOX. I can insert these images anywhere on the page with good precision and stretch them long and wide to whatever size and thickness I need. The image is placed in HEADING or FOOTING.
I also use UNDER_LINE for dynamic placement on sort fields and sometimes resort to defining a field that contains x number of underscores and placing it in subheads, subfoots, etc. This also looks nice in the finished output. (but is controlled by font size which is a pain sometimes, because 10 underscores in 12 point bold is much longer than 10 underscores in 8 point.)
I should mention that i only use these for PDF output. Locations are not necessarily respected for HTML output. But it makes excellent, professional-looking forms with boxes, grids, lines, etc.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
I want to draw an horizontal line on my "HEADING".

Is there a solution to add this line on the STYLE * part of my report like this:

  
TYPE=HEADING, LINE=24, ... MY HORIZONTAL LINE,$


Thanks.


WebFOCUS 7.6.4 running on Windows
Output formats : PDF, Excel and HTML
My blog
 
Posts: 61 | Location: Luxembourg | Registered: October 31, 2007Report This Post
Platinum Member
posted Hide Post
i wld suggest you to migrate to -HTMLFORM and do all formating over there....


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Gold member
posted Hide Post
I have ton generate a PDF report, I can't switch to HTML.


WebFOCUS 7.6.4 running on Windows
Output formats : PDF, Excel and HTML
My blog
 
Posts: 61 | Location: Luxembourg | Registered: October 31, 2007Report This Post
Expert
posted Hide Post
Jérény,

Try -

TYPE=HEADING, LINE=24, item=nn, STYLE=+UNDERLINE, $

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
I already tryed this but the line isn't complete, that underlines the content of the line but I want o draw an horizontal line on all the page.


WebFOCUS 7.6.4 running on Windows
Output formats : PDF, Excel and HTML
My blog
 
Posts: 61 | Location: Luxembourg | Registered: October 31, 2007Report This Post
Platinum Member
posted Hide Post
try with Border option...
like
  
TYPE=HEADING,BORDER-TOP=OFF,BORDER-BOTTOM=LIGHT,BORDER-LEFT=OFF,BORDER-RIGHT=OFF,$

AND cntrol the thickness...i don't recall the exact syntax...see in GUI...

If that does not fit in...create a GIF and position it....

tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Platinum Member
posted Hide Post
What abt this idea....
  
TABLE FILE CAR
PRINT 
     COUNTRY
ON TABLE SUBHEAD
"aaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
ON TABLE SET PAGE-NUM OFF 
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     FONT='TIMES NEW ROMAN',
     SIZE=10,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
$
TYPE=TABHEADING,
     BORDER-BOTTOM=LIGHT,
$
TYPE=TABHEADING,
     LINE=1,
     OBJECT=TEXT,
     ITEM=1,
     COLOR='WHITE',
$
ENDSTYLE
END


if you don't wanna go this way....go for image embedding.... Razzer


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Gold member
posted Hide Post
Thx focuzsambit, but it's isn't thant I want. I will try to create a GIF.


WebFOCUS 7.6.4 running on Windows
Output formats : PDF, Excel and HTML
My blog
 
Posts: 61 | Location: Luxembourg | Registered: October 31, 2007Report This Post
Gold member
posted Hide Post
Here is the solution I looked for:

object=box, name='line1', position = (1.0 1.0), dimension = (10.0 0.005), backcolor=NAVY, border-color=NAVY,$


WebFOCUS 7.6.4 running on Windows
Output formats : PDF, Excel and HTML
My blog
 
Posts: 61 | Location: Luxembourg | Registered: October 31, 2007Report This Post
Virtuoso
posted Hide Post
Ah an underline across the page. In the old days I would create a blank field and print it as the last field on the line to get the underline to spread across the page without using some fancy code. It was such a pain to get the underline long enough in the 80 column partiioned data set days. Of course sometimes that is why the code still does what it does because of the grandfathering of the code.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
When was OBJECT=BOX added to the WebFOCUS Style Sheet syntax?


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Virtuoso
posted Hide Post
I found the following on IBI Tech Support by doing a search on 'OBJECT=BOX'.

http://techsupport.informationbuilders.com/sps/30992016.html

Has anyone seen this before?


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
Searched the 1446 page Creating Reports With WebFOCUS Language v7.6 documentation and did not find object=box.

The only object stuff I found were the usual object=text|field styling subtype and some HTML Active report styling like TYPE=REPORT,OBJECT=MENU, etc.

I did find this ACROSS related thing that may come in handy:

Controlling Underlines for ACROSS Objects

SET ACROSSLINE= (ON|OFF|SKIP)


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
I can't see what that does and how it relates to "How to remove the extra line spacing in the SUBFOOT?".

I changed the position and dimensions and it still looks the same.

And what does "How to remove the extra line spacing in the SUBFOOT" mean?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Francis,

I don't think the article was meant to be, in any way, about the OBJECT=BOX. More likely to be the TYPE=FOOTING, LINE=1, POSITION=(0, 10.5) used to move the text to the edge of the paper.

I think the object=box was used to highlight the area concerned?

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
IBI is hiding something. Take a look at the following code. I am able to run this with WF713.

TABLE FILE CAR
SUM RCOST DCOST
BY COUNTRY
BY CAR
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLESHEET *
TYPE=REPORT, COLUMN=COUNTRY, WRAP=1.00,$
TYPE=REPORT, COLUMN=CAR , WRAP=1.00,$
TYPE=REPORT, COLUMN=RCOST , WRAP=1.25,$
TYPE=REPORT, COLUMN=DCOST , WRAP=1.25,$
TYPE=REPORT, NAME='BOX001', OBJECT=BOX, POSITION=(0.200 0.400),
DIMENSION=(8.10 5.00),
BORDER-COLOR=RED, BORDER=HEAVY,
BACKCOLOR=RGB(212 212 212),$
TYPE=REPORT, NAME='BOX002', OBJECT=BOX, POSITION=(1.40 0.425),
DIMENSION=(1.20 4.75),
BORDER-COLOR=BLUE, BORDER=HEAVY,
BACKCOLOR=WHITE,$
TYPE=REPORT, NAME='BOX003', OBJECT=BOX, POSITION=(2.70 0.425),
DIMENSION=(1.40 4.75),
BORDER-COLOR=GREEN, BORDER=HEAVY,
BACKCOLOR=YELLOW,$
ENDSTYLE
END

This message has been edited. Last edited by: mgrackin,


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Guru
posted Hide Post
The only reference I could find to "object=box" was for the pdf layout painter.

Interesting.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Expert
posted Hide Post
"how to remove the extra line spacing in the subfoot" my reaction as well, Frankie. Its the hoch-gibberish i was talking about yesterday... i'm reading this manual from cover to cover ... its *loaded* with it...




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
Susannah,

Put the manual down and step away ....

Then go and live a little Wink

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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
hey...you been talking to Mike????




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
I did more testing and apparently OBJECT=STRING and OBJECT=IMAGE work in the WF StyleSheet as well.

Try the code below:

TABLE FILE CAR
SUM RCOST DCOST
BY COUNTRY
BY CAR
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLESHEET *
TYPE=REPORT, TOPMARGIN=1.25,$
TYPE=REPORT, COLUMN=COUNTRY, WRAP=1.00,$
TYPE=REPORT, COLUMN=CAR , WRAP=1.00,$
TYPE=REPORT, COLUMN=RCOST , WRAP=1.25,$
TYPE=REPORT, COLUMN=DCOST , WRAP=1.25,$
TYPE=REPORT, NAME='STR001', OBJECT=STRING,
TEXT='Draft Copy. Do Not Distribute &DATE',
POSITION=(2.25 7.00),
FONT='ARIAL', SIZE=24,$
TYPE=REPORT, NAME='GIF001', OBJECT=IMAGE,
IMAGE='nistbanner.gif',
POSITION=(0.225 0.225),
DIMENSION=(3.00 0.50),$
TYPE=REPORT, NAME='BOX001', OBJECT=BOX,
POSITION=(0.175 0.175),
DIMENSION=(8.15 10.65),
BORDER-COLOR=RED, BORDER=15,
BACKCOLOR=SILVER,$
TYPE=REPORT, NAME='BOX002', OBJECT=BOX,
POSITION=(1.40 1.425),
DIMENSION=(1.20 4.75),
BORDER-COLOR=BLUE, BORDER=HEAVY,
BACKCOLOR=WHITE,$
TYPE=REPORT, NAME='BOX003', OBJECT=BOX,
POSITION=(2.70 1.425),
DIMENSION=(1.40 4.75),
BORDER-COLOR=GREEN, BORDER=HEAVY,
BACKCOLOR=YELLOW,$
ENDSTYLE
END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Virtuoso
posted Hide Post
Very nice Mickey. Also try FORMAT DHTML.....


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders