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 TopicGo
Search
Notify
Admin
New PM!
Platinum Member posted January 17, 2011 01:09 AM
Hi All,
I would like to know, how Column3 can be displayed above Column4 and Column5.
To be precise, Column4 and Column5 comes under Column3 category, so it has to be displayed as shown in above pic.
Column4 and Column5 are aliases for the fields.
Could you all share your suggestions on how to do this.
This message has been edited. Last edited by: Vinay Kumar , January 18, 2011 05:37 AM WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
Platinum Member If we could see the image it would be helpful.
Posts: 140 | Location: Adelaide South Australia | Registered: October 27, 2006
IP
Guru Hi Vinay,
As shown in the Image If this is for EXCEL Format 0f the report, Please find the code below.
TABLE FILE CAR
PRINT
COUNTRY AS 'COUNTRY'
CAR AS 'CAR'
SEATS
RETAIL_COST
HEADING
"<+0>COUNTRY/CAR<+0>"
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $
TYPE=REPORT, HEADALIGN=BODY, GRID=OFF, $
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$
END
This will work for HTML also.
But for PDF, you may need to do seperate stylig based on WIDTH of the heading elements.
Thanks, Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
IP
Platinum Member Hi Ram,
The above code worked for one category, what if there are multiple categories like the below image.
I mean how column3 and column5 could be displayed?
If the image is not visible, please find the image link below
http://i56.tinypic.com/333eudt.jpg WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
Platinum Member Ram, Is there any other solution other than using TEXT's in HEADING.
WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
Guru
TABLE FILE CAR
PRINT
BODYTYPE
SEATS
DEALER_COST
RETAIL_COST
SALES
MODEL
STANDARD
CAR AS 'CAR'
COUNTRY AS 'COUNTRY'
LENGTH
WIDTH
HEIGHT
WEIGHT
WHEELBASE
FUEL_CAP
BHP
RPM
MPG
ACCEL
WARRANTY
HEADING
"<+0>BODYCOL<+0>SEATCOL<+0>DELCOSTCOL<+0>RETCOSTCOL<+0>SALES/MODEL<+0>STDCOL<+0>COUNTRY/CAR<+0>LENGTH/WIDTH<+0><+0>HEIGHT/WEIGHT<+0>"
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $
TYPE=REPORT, HEADALIGN=BODY, GRID=OFF, $
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, JUSTIFY=LEFT, SIZE=10, COLSPAN=1,STYLE=BOLD,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=2, JUSTIFY=RIGHT, SIZE=10, COLSPAN=1,STYLE=BOLD,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=3, JUSTIFY=RIGHT, SIZE=10, COLSPAN=1,STYLE=BOLD,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=4, JUSTIFY=RIGHT, SIZE=10, COLSPAN=1,STYLE=BOLD,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=5, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=6, JUSTIFY=LEFT, SIZE=10, COLSPAN=1,STYLE=BOLD,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=7, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=8, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=9, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$
END
This way you can add and Style any number of Heading Elements, and achieve Super Title/Sub Title format.
But If you are not going for Heading, It is very tough to achieve this.
You may go through
This Thread for further more details.
You see if some of the suggestions given there helps you...
Thanks, Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
IP
Platinum Member Thanks Ram
Your posted thread was very helpful!
WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
Platinum Member Ram,
Your code hasn't worked for me. See the output i got below.
If image is not visible to you, please find image link below.
http://i51.tinypic.com/14l6f7b.jpg WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
Guru quote:
TABLE FILE CAR PRINT BODYTYPE SEATS DEALER_COST RETAIL_COST SALES MODEL STANDARD CAR AS 'CAR' COUNTRY AS 'COUNTRY' LENGTH WIDTH HEIGHT WEIGHT WHEELBASE FUEL_CAP BHP RPM MPG ACCEL WARRANTY HEADING "<+0>BODYCOL<+0>SEATCOL<+0>DELCOSTCOL<+0>RETCOSTCOL<+0>SALES/MODEL<+0>STDCOL<+0>COUNTRY/CAR<+0>LENGTH/WIDTH<+0><+0>HEIGHT/WEIGHT<+0>" ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $ TYPE=REPORT, HEADALIGN=BODY, GRID=OFF, $ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, JUSTIFY=LEFT, SIZE=10, COLSPAN=1,STYLE=BOLD,$ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=2, JUSTIFY=RIGHT, SIZE=10, COLSPAN=1,STYLE=BOLD,$ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=3, JUSTIFY=RIGHT, SIZE=10, COLSPAN=1,STYLE=BOLD,$ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=4, JUSTIFY=RIGHT, SIZE=10, COLSPAN=1,STYLE=BOLD,$ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=5, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=6, JUSTIFY=LEFT, SIZE=10, COLSPAN=1,STYLE=BOLD,$ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=7, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=8, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$ TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=9, JUSTIFY=CENTER, SIZE=10, COLSPAN=2,STYLE=BOLD,$ END
This code fetches me the right expected output...
Vinay, Did you copied the entire code... ??
My Output is
Thanks, Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
IP
Guru quote:
Thanks Ram Your posted thread was very helpful!
You are welcome Vinay.
Thanks, Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
IP
Platinum Member Ram, now i got it. Thanks!
I might have missed something previously.
WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
Guru Thatz Fine Vinay !!!
Thanks, Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
IP
Platinum Member Ram, This solution works fine for HTML, Excel!
How about for PDF? Have you ever tried?
WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
Guru Hi Vinay,
For PDF you may need to do trial in Error in Width and acheive values...
Instead of COLSPAN=1, You need to assign width=3.50 , 4.50 etc. until you reach you exact template.
Thanks, Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
IP
Guru Forgot... Also Remove this part as well...
TYPE=REPORT, HEADALIGN=BODY, GRID=OFF, $
Thanks, Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Posts: 394 | Location: Chennai | Registered: December 02, 2009
IP
Please Wait. Your request is being processed...
Read-Only TopicCopyright © 1996-2020 Information Builders