Subject: hi need to create an agent to be run on calendar entries
To get the date, look at NotesUIWorkspace.DialogBox or the Inputbox function (less control over data being input - no date picker, it might not be a valid date, etc.).
Then use the input in NotesDatabase.Search. The search string can have something like [StartDate >= inputStartDate & EndDate <= inputEndDate].
Subject: how to separate the calendar entries after the search process
hi james ,
As u said how when i do how can i separate the calendar entries after the search process.
What is did was like this:
First i am trying to get the handle to the view which has the calendar entires. Later iam applying the view selection formula for those entries to be restricted within the date range.
Subject: RE: how to separate the calendar entries after the search process
If you get the entry or entries from a view, I believe that you will have to analyze each entry as you loop through to see if it’s within your date parameters.
It might be easier to use NotesDatabase.Search instead of the view.