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
Help with Over
 Login/Join
 
Platinum Member
posted
Say I have something along the lines of :
TABLE FILE CAR
SUM RETAIL_COST AS 'TITLE1' LENGTH AS 'TITLE2' OVER DEALER_COST AS '' WIDTH AS ''
BY CAR
END

Which outputs:
ALFA ROMEO TITLE1 19565 TITLE2 510
xxxxxxxxxxx 16235 188

Is there a way I can get it to display like:
ALFA ROMEO TITLE1 TITLE2
xxxxxxxxxxx 19565 510
xxxxxxxxxxx 16235 188

(The x's are spaces)

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Expert
posted Hide Post
.eric,

Here's an idea, there may be others:

DEFINE FILE CAR
DUMMY/A1 = ' ';
END
TABLE FILE CAR
SUM
RETAIL_COST AS ''
LENGTH AS '' OVER
DEALER_COST AS ''
WIDTH AS ''
BY DUMMY NOPRINT
BY CAR AS ''
ON DUMMY SUBHEAD
"Car <+0> Title1 <+0> Title2"
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
SQUEEZE=ON,
GRID=ON, WRAP=ON,
FONT='ARIAL',
SIZE=9,
STYLE=BOLD,
JUSTIFY=CENTER,
$
-********************************************************************
-* Align the headings
-********************************************************************
TYPE=SUBHEAD,
BACKCOLOR=RGB(176 196 222),
HEADALIGN=BODY,
$
END

-EXIT


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
A slight modification to Tom's code gives exactly what you wanted -
DEFINE FILE CAR
DUMMY/A1 = ' ';
END
TABLE FILE CAR
SUM DUMMY       AS ''
    RETAIL_COST AS '' 
    LENGTH      AS '' OVER 
    DUMMY       AS ''
    DEALER_COST AS '' 
    WIDTH       AS ''
 BY CAR         AS '' NOPRINT
ON CAR SUBHEAD
"<CAR Title1 <+0> Title2"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, ORIENTATION=LANDSCAPE, $
TYPE=REPORT, GRID=OFF, WRAP=ON, FONT='ARIAL', SIZE=9, STYLE=BOLD, $
TYPE=TITLE, JUSTIFY=CENTER, $
-* Align the headings
TYPE=SUBHEAD, BACKCOLOR=RGB(176 196 222), HEADALIGN=BODY, $
ENDSTYLE
END

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
Platinum Member
posted Hide Post
Looks good, thanks guys!

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Platinum Member
posted Hide Post
Is there a way to get this to work in PDF format?

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Virtuoso
posted Hide Post
SET PRINTPLUS=ON
Take out the word WRAP.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
The printplus doesn't look to help. The column headings aren't aligning with the body.

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
Virtuoso
posted Hide Post
Take a look at this artical by Mickey..and see if it can help you
http://www.informationbuilders.com/support/developers/htmlpdf_part2.html

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


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
Looks like some good information, thanks for the link Prarie.

Eric


dev: WF 7.6.5 w/IIS + Tomcat

prod: WF 7.6.5 w/IIS + Tomcat
 
Posts: 153 | Location: Chicago, IL | Registered: February 24, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders