We have a very easy method to get the column values of our view(@dbcolumn).
getcolumnvalues(0) - Returns First column Values
getcolumnvalues(1) - Returns Second column Values
Like C array...
Code:
Dim session As
New notessession
Dim db As NotesDatabase
Dim vw As
notesview
Set db=session.CurrentDatabase
Set
vw=db.GetView("VwName")
Forall a In
vw.GetColumnValues(0)
Msgbox a
'similarly we can get Dbcolumn
End Forall
The Above code
displays the First column values...
No comments:
Post a Comment