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.
How can I sort months (jan,feb,march...december). Thanks in advance
I try this. TABLE FILE SPECIAL_REPORT PRINT TOTAL_RECORDS BY EACH_MONTH
But the result is not what i inspected.
EACH_MONTH TOTAL_RECORDS APRIL 9023 AUGUST 8083 FEBRUARY 7215 JANUARY 9530 JULY 7490 JUNE 7330 MARCH 7041 MAY 8922 SEPTEMBER 8437This message has been edited. Last edited by: <Kathryn Henning>,
Webfocus 7.7.02, Win 7,Pdf, Excel, HTML
Posts: 25 | Location: VA | Registered: September 10, 2011
As Francis said you need to carry the month numbers as otherwise you get sorted by ABC's. Usually you have the month as a number field in the database so you carry say MONTH_NR and MONTH_NM and use the MONTH_NR as the BY NOPRINT field.
Depending on how your DB is set up usually you have a translation table for the date formats - if not that might be an idea as it saves a lot of coding. Or then you create a module you can use as INCLUDE that does the most usual and annoying format changes if the DBA's don't want to play ball.
Cheers, H. WebFOCUS 8.1.05M Oracle 11g - DB2 RedHat
Posts: 115 | Location: Brighton UK | Registered: February 19, 2005
TABLE FILE MONTHSALES
SUM SALES
BY MONTH
END
MONTH SALES
January 16
February 22
March 27
April 36
May 21
June 32
August 36
September 12
October 11
November 29
December 43
From:
TABLE FILE MONTHSALES
PRINT ID MONTH SALES
END
ID MONTH SALES
1 September 12
2 October 11
3 June 32
4 May 21
5 April 17
6 January 16
7 February 22
8 December 43
9 November 29
10 March 27
11 August 36
12 April 19
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Interesting. I've only used this on MySQl and SQL Server with 7.703 and above. So possible, and obviously, there are limitations. Is this using DATEPATTERN?
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007