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
Style Sheet
 Login/Join
 
Platinum Member
posted
Hi,

i have one problem in my report,
i have one field with by Sort and One With Across it is Crosstab.
in this report the across field columns on the top of one row compared with BY column header.
like the below example.

-------------------Across Column
BY column-----------------------(i want to put all columns in the same line)
--------------------------------

is there any way to remove the gap between these two columns.


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Expert
posted Hide Post
I don't think there's any way to do that.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
Kaylan:

We had a similar requirement for a set of reports.

What you can do is take your TABLE that produces the report now with ACROSS, and HOLD it. The columns will be named with an alias name. TABLE the HOLD file with PRINT (or SUM) and use: PRINT field1 AS 'Report,Name' etc. This should give you more flexibilty in column placement. To get the HOLD file ALIAS name, use:
? HOLD holdname (This will let you see the fieldnames etc.) Then do your report from the HOLD file.


WebFOCUS 7.6.11, WINDOWS, HTML, PDF, EXCEL
 
Posts: 77 | Location: Baltimore | Registered: May 31, 2006Report This Post
Expert
posted Hide Post
Jim, that's a good idea.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
Francis:

I'm an old-timer with FOCUS, and can remember when ACROSS "wouldn't HOLD it that way" in the HOLD file - it just saved it as another BY field. This little known (and under utilized) feature can help. We use CHECK FILE holdname HOLD (or: ?FF holdname during debugging) to get the FIELDNAME and FORMAT. A -READ of the format really helps when one wants to display a variable value correctly, especially in a drill down report:

:
CHECK FILE YTD_MO HOLD
TABLE FILE HOLD
SUM MAX.FLDNO FIELDNAME FORMAT
ON TABLE HOLD AS HOLD_FMT
END
-RUN
-*******************************************************************
-* READ &FORMAT FROM HOLD FILE *
-*******************************************************************
-READ HOLD_FMT &HOLD_FLDNO.I4. &HOLD_FLD.A66. &HOLD_FMT.A8.
-*-TYPE FORMAT=&HOLD_FMT
-*
-*******************************************************************
-* DEFINE NEW FLD WITH FORMAT FROM VARIABLE RETRIEVED *
-*******************************************************************
-SET &CFMT =IF &HOLD_FMT CONTAINS 'I' THEN '(D13c)' ELSE '(D13.2c)';
-*
DEFINE FILE YTD_MO
FLD1 / &FORMAT = &FLD ;
CFMT /A13 = '&CFMT.EVAL';
FLD /A13 = FTOA(FLD1,CFMT,FLD);
END
-*
TABLE FILE YTD_MO
PRINT
FLD
RPTG_OCD
BY DIV_NUM
BY RPTG_PRD_ENDT
BY RPTG_PRD_TYP
BY SUMRY_PRD_ID
ON TABLE HOLD AS ... < we JOINed from here to produce the final report
END

Thanks!
Jim


WebFOCUS 7.6.11, WINDOWS, HTML, PDF, EXCEL
 
Posts: 77 | Location: Baltimore | Registered: May 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders