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     HELP! I need to create/find a particular date function

Read-Only Read-Only Topic
Go
Search
Notify
Tools
HELP! I need to create/find a particular date function
 Login/Join
 
Silver Member
posted
I want to set up a report to execute the first day of the month in which the date criteria will be based on the previous month. For example on September 1, 2008 I want to execute a report which will extract data from August 1, 2008 thru August 31, 2008 (previous month)without any manual intervention. I will set up the report in ReportCaster and it will automatically execute on the First of every month. I know there is a way but I cannot find any date documentation pertaining to this. I know other languages (i.e. Crystal) have functions that pertain to "Last full week", "Last Year", "Last Month", "Last 90 days" etc... Thanks A Million, all!
 
Posts: 31 | Registered: November 17, 2005Report This Post
Guru
posted Hide Post
First - before Ginny asks you to - Update your signature to let us know what platform, suite you are using.

Second - RC can be set to kick off on the first of each month (Make sure that is what you want)

Third - there is a plethora of date functions in WF. One will allow you to subtract one from the current month to get the prior month and another to select BOM beginning of the month and EOM end of the month.

You can find these in the functions manual, the help facility in the product you are using, or search the technical documentation library which is accessible from the upper right of this screen.

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


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Master
posted Hide Post
Search for AYM and AYMD


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
Denny

You have functions available like actual date (&YYMD). And from that starting point it's rather easy to go to the former month begin and enddate.
It also depends on the internal format of your date, that might give you the possibility to sat something like
WHERE MONTH EQ '200808'




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

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     HELP! I need to create/find a particular date function

Copyright © 1996-2020 Information Builders