Andy Doan 9.Apr.08 07:02 PM a Web browser Toolkits All Releases All Platforms
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:
1) Open mail data base.
2) Open the view: ($Calendar) with NIFFindView
3) Get the collection with NIFOpenCollection
4) 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?