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     Vertical Lines between 2 columns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Vertical Lines between 2 columns
 Login/Join
 
Member
posted
I am in the need of placing a vertical line between 2 columns of data (between Type1 and Type2) and display the results in HTML. Below is the code I have, any help would be greatly appreciated! Below is the code I currently have.

TABLE FILE HOLD1
PRINT TYPE1 TYPE2
ON TABLE HOLD AS HTML
ON TABLE SET STYLE *
TYPE=REPORT,
GRID=OFF,
SQUEEZE=ON,
FONT=ARIAL,
SIZE=9,
$
ENDSTYLE
END
-RUN
 
Posts: 4 | Location: Cincinnati | Registered: August 02, 2005Report This Post
Expert
posted Hide Post
Firstly I think you've made a few typos as that code will not produce your HTML straight to screen.

However, that is a minor issue.

Try something along the lines (pun intended Smiler ) of this code -

DEFINE FILE CAR<br />-* The following should be one line of output<br />-* I've split it here to prevent the screen width being too big<br />VERT_LINE/A131='<SPAN style="POSITION:absolute; LEFT:120px; WIDTH:2px;<br /> TOP:70px; HEIGHT: 360px; BACKGROUND-COLOR: rgb(0,0,0)"><BR /></SPAN>';<br />END<br />TABLE FILE CAR<br />PRINT COUNTRY<br />COMPUTE SPC/A30 = '&|nbsp;&|nbsp;&|nbsp;&|nbsp;&|nbsp;'; AS ''<br />      MODEL<br />HEADING<br />"<VERT_LINE"<br />ON TABLE PCHOLD FORMAT HTML<br />ON TABLE SET STYLE *<br />TYPE=REPORT, GRID=OFF, SQUEEZE=ON, FONT=ARIAL, SIZE=9, $<br />ENDSTYLE<br />END
Change the BACKGROUND-COLOR rgb values using integers to change the colour of the line e.g. BACKGROUND-COLOR: rgb(255,0,0) for a Red line
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Member
posted Hide Post
That works, Thanks!!
 
Posts: 4 | Location: Cincinnati | Registered: August 02, 2005Report This Post
Expert
posted Hide Post
or you might like..
DEFINE FILE CAR
BAR/A1=' ';
END
...
TABLE FILE CAR SUM SALE BY COUNTRY BY BAR AS ''
BY MODEL
...
TYPE=REPORT,COLUMN=BAR,BACKCOLOR=SILVER,$
can be more flexible that absolute positioning.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
Have you tried this?

TABLE FILE CAR
PRINT RCOST DCOST
BY COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF,$
TYPE=DATA, COLUMN=DCOST, BORDER-LEFT=MEDIUM,$
ENDSTYLE
END
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
As always, many ways to skin a cat with WebFOCUS!
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     Vertical Lines between 2 columns

Copyright © 1996-2020 Information Builders