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:
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:
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,
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
January 02, 2019, 03:03 PM
Tomsweb
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.