I’m trying to use the Notes C API to get all my calendar entries for a specific date range.
I’m new to the Lotus API, but my approach is basically to:
-
Open mail data base.
-
Open the view: ($Calendar) with NIFFindView
-
Get the collection with NIFOpenCollection
-
Get a subset of entries by using the NIFFindByKey function and the FIND_RANGE_OVERLAP flag. For the key I copy an ItemTable with one item in it. The item is a TIMEDATE_PAIR with the begin and end dates I want to limit the results to.
The problem is I’m not getting an calendar entries returned back. I’ve tried to find some example code for how to do this, but I’m not really seeing any. Can someone provide some example code of to help me or point me to some?
Thanks,