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     [SOLVED] Where filter dates InfoAssist 8.2.01

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Where filter dates InfoAssist 8.2.01
 Login/Join
 
Master
posted
I am developing a report in InfoAssist 8.2.01.

I have a date field in YYMD format. I want to use it in a Where filter for a report, so I
created a filtering condition, setting the prompt as a dynamic parameter, and test it.

When I run it the code I get a drop down of dates like:

01/09/2011
01/16/2011
01/26/2013
01/28/2014
01/30/2015
02/01/2012
02/18/2012
02/22/2013
03/11/2014


I was expecting the "normal" sort in the drop down

01/09/2011
01/16/2011
02/01/2012
02/18/2012
01/26/2013
02/22/2013
01/28/2014
03/11/2014
01/30/2015

I am developing a report in InfoAssist 8.2.01.

I have a date field in YYMD format. I want to use it in a Where filter for a report,
so I created a filtering condition, setting the prompt as a dynamic parameter, and test it.

When I run it the code I get a drop down of dates like:

01/09/2011
01/16/2011
01/26/2013
01/28/2014
01/30/2015
02/01/2012
02/18/2012
02/22/2013
03/11/2014


I was expecting the "normal" sort in the drop down

01/09/2011
01/16/2011
02/01/2012
02/18/2012
01/26/2013
02/22/2013
01/28/2014
03/11/2014
01/30/2015


Like many WF developers, I feel very restricted by the "limits" of
developing reports in InfoAssist. Can anyone suggest how I can get these
dates to display sorted by year in the filter ?

Thank you.
Like many WF developers, I feel very restricted by the "limits" of
developing reports in InfoAssist. Can anyone suggest how I can get these
dates to display sorted by year in the filter ?

Thank you.

This message has been edited. Last edited by: FP Mod Chuck,


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Virtuoso
posted Hide Post
I just tested this and the Autoprompt for the YYMD field shows a drop down of YYMD (e.g. 2011/12/20) not MDYY. Could you please show us what InfoAssist code generated looks like for the WHERE test? My WHERE test looks like this:
  
WHERE WF_RETAIL.WF_RETAIL_TIME_SALES.TIME_DATE_DAY_COMPONENT EQ &TIME_DATE_DAY_COMPONENT.(FIND RETAIL_SAMPLES/WF_RETAIL.WF_RETAIL_TIME_SALES.TIME_DATE_DAY_COMPONENT IN RETAIL_SAMPLES/WF_RETAIL |FORMAT=YYMD,SORT=ASCENDING,REQUIRED=TRUE).Day:.QUOTEDSTRING;


Note the FORMAT=YYMD in the WHERE test. I'm wondering what yours generates.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Master
posted Hide Post
I had to create an expression to solve this problem. As you know there is NO documentation on how to do this so you have to play around and enjoy the fickle fate of FOCUS.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Virtuoso
posted Hide Post
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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     [SOLVED] Where filter dates InfoAssist 8.2.01

Copyright © 1996-2020 Information Builders