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     [ID-1O-T ERROR]HEADALIGN on Free-Form Report (Excel)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[ID-1O-T ERROR]HEADALIGN on Free-Form Report (Excel)
 Login/Join
 
Guru
posted
Hi, I'm having a brain freeze right now...
I'm trying to create a free-form report for Excel and can't seem to properly place the items in the columns. The report I'm truly needing is a compound report with this Free-Form report as the first table and an 8-column report for the 2nd table with nobreak option (same sheet).

TABLE FILE CAR
HEADING
"TESTING 8-COLUMN FREE-FORM REPORT ON EXCEL"
""
"TOTAL DEALER COST: <TOT.DEALER_COST"
"TOTAL RETAIL COST: <TOT.RETAIL_COST"
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=9,
$
TYPE=HEADING,
     STYLE=BOLD,
     HEADALIGN=INTERNAL,
     JUSTIFY=LEFT,
$
TYPE=HEADING,
     LINE=1,
     SIZE=12,
     COLSPAN=8,
     JUSTIFY=CENTER,
$
ENDSTYLE
END


I'm trying to get the 3rd and 4th lines of the Heading split the totals onto the 2nd column, but it didn't want to. I tried it with <+0> between the label and the value - doesn't work. Even if I put ITEM=1,COLSPAN=1, on the style.

Any suggestions?

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


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Virtuoso
posted Hide Post
look for the commands

FORMAT EXL2K OPEN
for your first report

FORMAT EXL2K CLOSE
after your last report




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
The lines 3 & 4 should read:
" <+0>TOTAL DEALER COST: <TOT.DEALER_COST"
" <+0>TOTAL RETAIL COST: <TOT.RETAIL_COST"
 

to get them to start in column 2.

But anyway you count it, the labels "TOTAL DEALER COST:" and the following fields are TWO items not one. One is text and one is a field. I don't think there is any way with COLSPAN to make them be the same item.
To make it look like they are both in the same column, I think you will have to have a COLSPAN=9, where other lines in "column 2" other than this one, have a COLSPAN=2 or greater.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Guru
posted Hide Post
N.Selph,
I wanted the Label to be on the first column and then the value on the 2nd column. The above code wouldn't split them, so, I tried to force a 2nd item and tried it this way:
"TOTAL DEALER COST: <+0><TOT.DEALER_COST"  

But, this still doesn't work. I think the reason is that it needs at least 2 detail columns for it to work, but since I don't have any detail lines, it wouldn't? But then, why did the first line work with the COLSPAN? Hopefully, there's another solution?

Frank,
The OPEN NOBREAK and CLOSE still doesn't change things.

regards,
Anatess


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Guru
posted Hide Post
Tom,
PERFECT! Works like a charm. The OBJECT made the difference. Thank you.

regards,
Anatess


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Expert
posted Hide Post
Anatess,

The only change to your original code was, as Tom suggested, to change the HEADALIGN=INTERNAL to HEADALIGN=BODY and you would have had the result you needed.

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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [ID-1O-T ERROR]HEADALIGN on Free-Form Report (Excel)

Copyright © 1996-2020 Information Builders