Vinod Varma 16.Mar.12 06:12 PM a Web browser Applications Development7.0All Platforms
Hi All ,
I am trying to test whether the getAllEntriesByKey method is working fine or not. But it gives me 0 entries though i have 5 docuemnts in the view.
Dim sess As New NotesSession
Dim db As NotesDatabase
Dim vw As NotesView
Dim vwEntryColl As NotesViewEntryCollection
Dim vwEntry As NotesViewEntry
Dim doc As NotesDocument
Set db = sess.CurrentDatabase
Set vw = db.GetView("By Country")
Set vwEntryColl = vw.GetAllEntriesByKey(Country/Region, True) ' Column Name Country/Region is the only sorted column and it is the first column name in the view
Messagebox vwEntryColl.Count & " No of Entries In The View"