Solved

Getting column name in aview

Posted on 2004-10-12
5
221 Views
Last Modified: 2013-12-18
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
Comment
Question by:skintpaul
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 12287265
Use NotesView.Title
0
 
LVL 19

Accepted Solution

by:
RanjeetRain earned 125 total points
ID: 12287288
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
 

Author Comment

by:skintpaul
ID: 12287300
I said column headings and just to reiterate I'm using VB

Paul
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 12290596
I'm confused, are you still looking for info? You closed the question.
0
 

Author Comment

by:skintpaul
ID: 12296202
No Ranjeet Rain answered my question, my last comment was added before I seen his response
Thanks anyway
Paul
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adjusting times for a meeting room 3 146
CopyAllItems causing problem with permissions 3 93
Disable Return Receipt In Lotus Notes 15 254
Lotus Notes transfer mail box problem 6 101
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question