IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Heading in to seperate cells in excel
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Gold member
Posted
is it possible to have a heading in two excel cells in WebFocus release 5.23
for example, I want the heading of -
Our Claim Number: 123456

I want the text of 'Our Claim Number' to be in cell 1 and the field value of 123456 to be in cell 2.

Remember, we are using release 5.23
 
Posts: 63 | Location: OH | Registered: November 09, 2004Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Cheri

is it a column or report heading?




Frank

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

 
Posts: 1644 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
If I understand what you are asking you could

DEFINE FILE WHATEVER
CLAIM/A17 = 'Our Claim Number:';
END
TABLE FILE WHATEVER
PRINT CLAIM AS ' '
VALUE AS ' '
END


WebFOCUS 7.6.1 Win 2003 Test -7.6.5
 
Posts: 1188 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
try this:

TABLE FILE CAR
PRINT COUNTRY
OVER MODEL NOPRINT
ON TABLE PCHOLD FORMAT EXL2K
END


prod:7.1.2/win2k3/ss/rpt caster/dev studio 7.6.4 win xp
 
Posts: 130 | Location: pgh pa | Registered: October 06, 2004Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
If the text is truely in a HEADING, add the following setting to your report code:

TYPE=HEADING, HEADALIGN=BODY,$

Here's an example:

TABLE FILE CAR
HEADING
"THE COUNTRY IS <COUNTRY"
PRINT RCOST DCOST
BY COUNTRY NOPRINT
BY CAR
BY MODEL
BY BODYTYPE
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
TYPE=HEADING, HEADALIGN=BODY,$
ENDSTYLE

END


Thanks!

Mickey

WebFOCUS 7.1.3 /// Windows 2003 Server /// Oracle Data Sources /// HTML, PDF, EXCEL Output
 
Posts: 933 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
I'd be surprised if EXL2K exists for version 5.2.3.


Francis



Env 1: WebFOCUS 5.3.2 Servlet - MRE/BID/Self Service/ReportCaster - MS Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server 2000 - DataMigrator 5.3.4
Env 2: WebFOCUS 7.6.5 Servlet - MRE/BID/Self Service - MS Windows XP SP2 - Apache Tomcat/5.5.25 - MS SQL Server 2000
Env 3: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2
Output formats: HTML, Excel 2000 and PDF
 
Posts: 3379 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Perhaps you can consider the use of COLSPAN. The following is how I handled a similar situation:
TYPE=HEADING, LINE=1, COLSPAN=16, JUSTIFY=CENTER,$
TYPE=HEADING, LINE=2, COLSPAN=16, JUSTIFY=CENTER,$
TYPE=HEADING, LINE=3, ITEM=1, JUSTIFY=RIGHT, COLSPAN=6,$
TYPE=HEADING, LINE=3, ITEM=2, JUSTIFY=CENTER, COLSPAN=3,$
TYPE=HEADING, LINE=3, ITEM=3, JUSTIFY=LEFT, COLSPAN=7,$
TYPE=HEADING, LINE=4, COLSPAN=16, JUSTIFY=CENTER,$
TYPE=HEADING, LINE=5, JUSTIFY=CENTER, SIZE=9,$
TYPE=HEADING, LINE=5, ITEM=1, JUSTIFY=LEFT, COLSPAN=12,$
TYPE=HEADING, LINE=5, ITEM=2, JUSTIFY=LEFT, COLSPAN=4,$
TYPE=HEADING, LINE=6, JUSTIFY=LEFT, SIZE=9,$
TYPE=HEADING, LINE=6, ITEM=1, COLSPAN=12,$
TYPE=HEADING, LINE=6, ITEM=2, COLSPAN=4,$
-Doug



Current Client: WebFOCUS 7.1.4 Client: Windows, Reporting Server: Unix, Data: Oracle, Teradata
Local Laptop: WebFOCUS 7.6.5 on Vista/Apache/Tomcat, Data: FOCUS, MS Access
 
Posts: 100 | Location: Live: Clemmons, NC, Work: HPHC, Wellesley, MA | Registered: February 23, 2005Reply With QuoteEdit or Delete MessageReport This Post
Gold member
Posted Hide Post
I decided to search before posting, and once I found the right keyword (COLSPAN), I found this thread, which almost solves my problem.

The COLSPAN setting works perfectly, but I have a 5 column report, and I want the heading line that appears in two columns to appear over columns 2-5. What do I use for the HEADING values so that WebFOCUS will notice the two different ITEMS?


Production - 7.6.4
Sandbox - 7.6.4
 
Posts: 88 | Location: Bethesda, MD | Registered: August 14, 2007Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
stick in spot markers <+0>
 
Posts: 950 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
EXL2K did exist for 5.2.3.


Ginny
---------------------------------
Prod: WF 7.6.5 with 7.6.6 WFRS; AIX 5.2; WebSphere 6.1.0.15
Dev: WF 7.6.5 with 7.6.6 WFRS; AIX 5.3; WebSphere 6.1.0.15
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable
 
Posts: 1546 | Location: BNSF: Fort Worth, TX | Registered: April 05, 2006Reply With QuoteEdit or Delete MessageReport This Post
Gold member
Posted Hide Post
The header line shows up in one cell as:

"1 2 3 4 5 This Should Be 6"

I've got:

TABLE FILE SF86REVIEW
HEADING
"<+0>1<+0>2<+0>3<+0>4<+0>5<+0>This Should Be 6<0>"
PRINT 
SF86REVIEW.STATUS AS 'Status'
SF86REVIEW.SCT01 AS '1'
SF86REVIEW.SCT07 AS '7'
SF86REVIEW.SCT08 AS '8'
SF86REVIEW.SCT09 AS '9'
SF86REVIEW.SCT10 AS '10'

ON TABLE SET STYLE *
ORIENTATION=LANDSCAPE,$
TYPE=TITLE, COLOR=NAVY, STYLE=BOLD+UNDERLINE, FONT=ARIAL, SIZE=10,$
TYPE=REPORT, TITLETEXT= 'RESULTS', $
TYPE=TABHEADING,STYLE=BOLD,$
TYPE=HEADING,LINE=1,ITEM=6, STYLE=BOLD,COLSPAN=2, JUSTIFY=CENTER,COLOR=AQUA,$
TYPE=SUBFOOT,STYLE=BOLD,$
TYPE=TABFOOTING,STYLE=BOLD,$
ENDSTYLE

ON TABLE PCHOLD FORMAT EXL2K
END


Production - 7.6.4
Sandbox - 7.6.4
 
Posts: 88 | Location: Bethesda, MD | Registered: August 14, 2007Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
quote:
TYPE=HEADING, HEADALIGN=BODY,$


You forgot didn’t you
 
Posts: 950 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
Gold member
Posted Hide Post
quote:
TYPE=HEADING, HEADALIGN=BODY,$


Thank you. That fixed it!


Production - 7.6.4
Sandbox - 7.6.4
 
Posts: 88 | Location: Bethesda, MD | Registered: August 14, 2007Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Heading in to seperate cells in excel

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.