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.
I have a DATE-TIME field on a SQL/R3 db, and the masterfile has been set to USAGE=MDYY ACTUAL=DATE.
When the user enters a date range, it will show data only up to the day before the ToDate that they enter. I think this is because WF is sending 01/02/2007 00:00:00, which is functionally 01/01/2007. The only way I have found to make the date range work out is to do a DATEADD function on the variable provided and add one additional day.
Is there a more elegant way to handle this?
Cheers,
Joey
-WebFOCUS 8.2.01 on Windows
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005
Will your WHERE clause be passed to the database or will FOCUS do the WHERE?
The problem occurs when there is a time in the data base so if one is doing an equality test, 01-02-2007 is not equal to 01-02-2007 02:00:00.
We do a lot of date testing (Oracle database) is our reporting. We typically set 2 & variables, &BEGDT and &ENDDT. For example, say we want the data for all of Jan 2007, &BEGDT is 20070101 and &ENDDT is 20070201. We just code:
WHERE TESTDT GE '&BEGDT' AND TESTDT LT '&ENDDT'
This does get passed to the database.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006