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     Left and Right Columns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Left and Right Columns
 Login/Join
 
Member
posted
I'm trying to figure out a way to organize two tables. Currently the layout looks like this (Fictional data used as an example).

Left Column_______Right Column
Boxa______________Project b
Project c_________Box d
Project m_________Box u
Box u_____________Project j
Box m_____________Project u

What I would like is for the Boxes to show up in one Column and the Projects in the other.

This is hypothetical, since I'm dealing with very senstitive info... but if someone could give a response based on the sample data I think I could manage to figure it out.
Any ideas?

This message has been edited. Last edited by: john drews,
 
Posts: 14 | Location: Minneapolis | Registered: August 24, 2004Report This Post
Member
posted Hide Post
Sorry, the formatting came apart there...
Hopefully this is easier to read. Sample data below.

Table A

Left Column_______Right Column
Boxa______________Project b
Project c_________Box d
Project m_________Box u
Box u_____________Project j
Box m_____________Project u


7.7.02 on Windows
 
Posts: 14 | Location: Minneapolis | Registered: August 24, 2004Report This Post
Expert
posted Hide Post
John, if you have 2 tables, and you want to place them side by side, piece o' cake. Here's the basic idea; and the result is emailable via caster as well.
TABLE FILE CAR
do something
ON TABLE HOLD AS MYTAB1 FORMAT HTMTABLE
END
TABLE FILE CAR
do something else
ON TABLE HOLD AS MYTAB2 FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
<TABLE>
<TR>
<TD>
!IBI.FIL.MYTAB1;
</td>
<TD>
!IBI.FIL.MYTAB2;
</td>
</TR></TABLE>

-HTMLFORM END
good point tony makes below; lets go ahead and follow the rules and be xml-ready

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




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
Don't forget the
</TD>
tags as well to close the
<TD>
!!



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
Member
posted Hide Post
I found out the trick...

Used this sample code and it worked

DEFINE FILE X
LEFT_COL/A25 = IF LEFT_COL CONTAINS 'BOX' THEN LEFT_COL ELSE RIGHT_COL;
RIGHT_COL/A25 = IF RIGHT_COL CONTAINS 'PROJECT' THEN RIGHT_COL ELSE LEFT_COL;
END

TABLE FILE X
PRINT LEFT_COL RIGHT_COL
END


7.7.02 on Windows
 
Posts: 14 | Location: Minneapolis | Registered: August 24, 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     Left and Right Columns

Copyright © 1996-2020 Information Builders