Solved

Getting column name in aview

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

  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…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now