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     PDF WITH ACROSS ON 2 PAGES DOESN'T REPEAT SORT VALUE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
PDF WITH ACROSS ON 2 PAGES DOESN'T REPEAT SORT VALUE
 Login/Join
 
Gold member
posted
Hello,

I have a pdf report with a across value = 12 months + row total.
On the first page, I can print from january to june and data for july to december are printed on the second page.
I want to repeat the sort values on the second page but It doesn't work.
How can I do that ?

Thanks for help.
Catherine


7.7.02 (Html, Excel, Ahtml, Pdf,Graph,.....)
OS400 V5R3, V5R4
Windows 2000/2003/2007/2010
 
Posts: 68 | Location: France | Registered: February 27, 2008Report This Post
Virtuoso
posted Hide Post
I'm not sure if there is a SET command to this, but what I should do is split the year into two half year's and use that as a by field.

DEFINE FILE XXX
HYEAR/I2=IF MONTH LE 6 THEN 1 ELSE 2;
(supposed the month is a number from 1-12)
END
TABLE FILE XXX
SUM SALES
BY HYEAR NOPRINT PAGE-BREAK
BY PRODTYPE
ACROSS MONTH
END


Or something like this...

It's maybe not exactly what you want, if you have in the first half year not all the products you can have less lines than in the second half year.
If you need a row-total, the result is also not what you want.

The other solution might be defining all months as unique fields

DEFINE FILE XXX
JAN/D12=IF MONTH EQ 1 THEN SALES ELSE 0;
FEB/D12=IF MONTH EQ 2 THEN SALES ELSE 0;
...
DEC/D12=IF MONTH EQ 12 THEN SALES ELSE 0;
(supposed the month is a number from 1-12)
END
TABLE FILE XXX
SUM JAN FEB MAR ...JUN PRODTYPE JUL ...DEC
BY PRODTYPE
END


Now you get the prodtype on the left and in the middle.
You have to play with the column with to get the second half of the year on an other page.

There must be a smarter solution.




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
Gold member
posted Hide Post
Thanks Frank, I vill try.


7.7.02 (Html, Excel, Ahtml, Pdf,Graph,.....)
OS400 V5R3, V5R4
Windows 2000/2003/2007/2010
 
Posts: 68 | Location: France | Registered: February 27, 2008Report This Post
Virtuoso
posted Hide Post
Cati,

Look at the BYPANEL setting in the Developing Reporting Applications manual. This might be what you are looking for.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Virtuoso
posted Hide Post
Cati,

Run the following code for an example:

TABLE FILE EMPLOYEE
SUM SALARY ACROSS HIRE_DATE
BY DEPARTMENT
ON TABLE SET BYPANEL ON
ON TABLE PCHOLD FORMAT PDF
END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report 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     PDF WITH ACROSS ON 2 PAGES DOESN'T REPEAT SORT VALUE

Copyright © 1996-2020 Information Builders