?
Solved

Getting column name in aview

Posted on 2004-10-12
5
Medium Priority
?
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

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

Accepted Solution

by:
RanjeetRain earned 500 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

743 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