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,
December 14, 2005, 01:19 PM
john drews
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
December 14, 2005, 01:45 PM
susannah
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
-HTMLFORM END good point tony makes below; lets go ahead and follow the rules and be xml-readyThis message has been edited. Last edited by: susannah,
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
December 14, 2005, 03:37 PM
Tony A
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
December 21, 2005, 04:44 PM
john drews
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