Solved

Getting column name in aview

Posted on 2004-10-12
5
224 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Modify The View Selection Criterion through a Button 10 34
Lotus Notes Calendar Issue 5 113
Why the url within notes is no action 6 52
Migrating from Lotus Notes to Office 365 2 148
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

821 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