Use the @Explode function to split the date range to a list of dates.
Main Topics
Browse All TopicsWe have events that are being shown in calendar and outline type views. We need to allow the customers to enter a date range as parameters and then to limit the view to those events that are within that date range.
This is such a common data processing model that I can't believe that Notes does not have this capability, yet from everything I read, the only way to accomplish this is to copy all events within the date range to a folder and then use the folder as a data source for the view.
Is there a way to do it with viewcollections? Another more straightforward method?
Any assistance offered would be greatly appreciated.
Thanks in advance.
BenBarnett bbarnett@bpd.treas.gov
Jeff Schaff jschaff@bpd.treas.gov
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Arun.
Thanks very much for your response but as a Notes newbie, I really don't understand how to implement the suggestion.
We need to show a prompt type box where customers can enter 2 dates and then upon entry, refresh the view to only show documents where a document field (event date) is between those two dynamically entered dates.
Do you still think that your suggestion will work to do that?
You stated that "One document will be visible in all the date range !". We will have multiple event documents that will be in the date range. Does that change your response?
Any more information you could provide would be greatly appreciated.
Thanks,
BenBarnett bbarnett@bpd.treas.gov
Do you have to do this programatically? Can the user just use the built in search capability? I don't know what version you have but I have R5 and I can go to VIEW/SHOW SEARCH BAR and specify date ranges by clicking on MORE and specifying as many date criteria as I want... If it needs to be programatic then I would use the folder option. I do this in my web apps and it works great. I've never done it for a Notes client though.
-Snocross
BenBarnett,
No comment has been added lately (1127 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
RECOMMENDATION: Award points to Arunkumar http:#35059
Please leave any comments here within next four days.
-- Please DO NOT accept this comment as an answer ! --
Thanks,
Zvonko
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: ArunkumarPosted on 2000-12-20 at 04:53:36ID: 35059
Hi Benbarnett !
Have one field that will explode the date range supplied in two fields.
Have this list of values field as the first column and show multiple values as separate entries.
That solves the problem. One document will be visible in all the date range !
Good Luck!
-Arun