Examples: Columns property

This script prints the title of each column in a view of the WALNUT.NSF. It uses the Title property of the NotesViewColumn class.

server$ = "Montreal"
dbfile$ = "corpcomm\walnut.nsf"
Dim db As New NotesDatabase( server$, dbfile$ )
Dim view As NotesView
Set view = db.GetView( "By Date\Ascending By Main Topic" )
Forall c In view.Columns
  Messagebox ( c.Title )
End Forall