How to get datatype of a column

I have a column in a view.This column can be binded to a field or column can have a formula associated with it.

By using notes API or by any-other means, how can i get the datatype of column. When i say datatype of a column it means i want to get the datatype of the field which is binded to column.

Example :

Using “Notesviewcolumn” how can we achieve this requirement.

NotesViewColumn.IsField will tell us if the column is binded to a field or not. When it is then how to get the datatype of this field.

Any help will be appreciated and welcome.

Thanks a lot in advance.

Subject: How to get datatype of a column

Hi ,

Your approach is right .

  1. Check if the item mapped is a field using

NotesViewColumn.Isfield

if NotesViewColumn.Isfield

{

2)get NotesViewColumn.ItemName

}

3)Use the NotesItem.Type property to find out the type of the item.

Subject: RE: How to get datatype of a column

Thanks Vignesh ! I will try that out.