• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

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
0
skintpaul
Asked:
skintpaul
  • 2
  • 2
1 Solution
 
RanjeetRainCommented:
Use NotesView.Title
0
 
RanjeetRainCommented:
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
 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now