title: Get all top level entry values from NotesView
body: <p>What is the easiest way to get all top level entry values from a notes view? I have found the property "TopLevelEntryCount" returning the number of alle categories, but I want the values, too.</p>
  
  <p>To iterate the view entries and column values need too much time.</p>
  
  <pre><code>Set ecl = view.Allentries
  Set ve = ecl.Getfirstentry()
  While Not(ve Is Nothing)
      If IsArray(ve.Columnvalues(0)) Then
          If flag = "" Then
              arr = ve.Columnvalues(0)
          Else
              arr = ArrayUnique(ArrayAppend(arr, ve.Columnvalues(0)))
          End If
      Else
          'error if arr is not already an array
          arr = ArrayUnique(ArrayAppend(arr, ve.Columnvalues(0)))
      End If
  
      flag = "1"
      Set ve = ecl.Getnextentry(ve)
  Wend
  </code></pre>
  
  <p>Anyone know a faster way? It must not be written in LotusScript, actually I would prefer Java, JS or SSJS.</p>