Hello,
I’m trying to use CreateViewNavFromCategory() via COM to retrieve all documents from the calendar view that have a particular category, but when I run the code, I get a notesViewNavigator with a count of zero.
Here’s basically what I’m doing:
g_oCalView = g_oLNdb.GetView(“Calendar”)
g_oViewNav = g_oCalView.CreateViewNavFromCategory(“vCalSummary”)
But, g_oViewNav.Count = 0
I know that there are documents in the calendar view with the category I’m looking for and can cycle through the entire calendar view to find them, but I’m really looking for a way to cycle through all the documents with a specific category to save time.
Any ideas or suggestions?
Thanks.