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
skintpaulAsked:
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.
0
 
RanjeetRainCommented:
Use NotesView.Title
0
 
skintpaulAuthor Commented:
I said column headings and just to reiterate I'm using VB

Paul
0
 
qwaleteeCommented:
I'm confused, are you still looking for info? You closed the question.
0
 
skintpaulAuthor Commented:
No Ranjeet Rain answered my question, my last comment was added before I seen his response
Thanks anyway
Paul
0
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.