Getting column name in aview

I've written a VB app to load infor in from a Notes view.
However I'm finding it dicfficult to get the actual column titles/names.

any help appreciated
Who is Participating?
RanjeetRainConnect With a Mentor Commented:
From designer help:

This script displays the position number and title of every column in the By Category view of the current database.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView( "By Category" )
Forall c In view.Columns
  Messagebox( c.Position & " " & c.Title )
End Forall

The Title is a property of NotesViewColumn class that lets you access title of the column as specified by the developer.
Use NotesView.Title
skintpaulAuthor Commented:
I said column headings and just to reiterate I'm using VB

I'm confused, are you still looking for info? You closed the question.
skintpaulAuthor Commented:
No Ranjeet Rain answered my question, my last comment was added before I seen his response
Thanks anyway
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.