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     Greater Than - Less Than Date

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Greater Than - Less Than Date
 Login/Join
 
Member
posted
I am using InfoAssist 8.0.02 and would like to set a Filter on a Date Field (Format is MDYY). I want the filter to be Greater Than or Equal to Today's Date. I cannot see how to do this. Any ideas?


Webfocus release: 8.0.0.1
Windows, All Outputs
 
Posts: 3 | Registered: March 05, 2013Report This Post
Platinum Member
posted Hide Post
I would define my own date field and filter on that. Your MDYY needs to be YYMD to get a valid comparison.


WebFOCUS 7.7.05 (Someday 8)
Windows 7, All Outputs
In Focus since 1983.
 
Posts: 103 | Registered: April 27, 2011Report This Post
Platinum Member
posted Hide Post
Hi Christy,
I don't know whether you figured this one out yet, but here is an approach.
(I only could manage to do this as a three step process - perhaps someone that knows their way around InfoAssist knows a better way.)

The steps:
1) Create a new DEFINE field for today's date
2) Add a FILTER for your MDYY field - but just hardcode a value to test against to start
3) Right click on the FILTER that was created (in the left FILTER pane) and Edit it in Advanced mode

Some detail on each:
1) Create a new DEFINE field for today's date
In the Data/Define tool, create a new field e.g. today_mdyy, with a format of mdyy
Type in the expression: '&MDYY'
(NB: Note the single quotes)
Save the DEFINE and print the new field just to check that your DEFINE is correct

2) Add a FILTER for your MDYY field - but just hardcode a value to test against to start
I'm guessing you probably know how to do this by now ;-)
Add the filter for your date field e.g. where it is 'Greater then or Equal to', and then type in a value e.g. 11111111
At this point everything should still work i.e. no errors, and you should still see your data

3) Right click on the FILTER that was created (in the left FILTER pane) and Edit it in Advanced mode
i.e.
Your FILTER should now appear in the pane on the left of your screen
Click on your new filter and Edit it / but specify that it must be opened in Advanced mode
You should see your expression. If you double-click on the value that you typed in e.g. 11111111 - and possibly wait a second or two,
you should get a drop-down box for 'Type:', which will now be a Constant. Select 'Field' instead.
Then select your new today_mdyy field, and click OK

And that should work!


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report 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     Greater Than - Less Than Date

Copyright © 1996-2020 Information Builders