Accessing view or folder columns

You can access view or folder columns through the Columns property of NotesView, which returns a NotesViewColumn object. You can create a column with CopyColumn and CreateColumn. You can remove a column with RemoveColumn.

This object gives you access to the following properties:

Property

Data type

Description

Alignment

Constant

(Read-write) The alignment of data in a column

DateFmt

Constant

(Read-write) The specific format of a date in a column

FontColor

Constant

(Read-write) The font color of data in column

FontFace

String

(Read-write) The font face of data in a column

FontPointSize

Integer

(Read-write) The font point size of data in a column

FontStyle

Constant

(Read-write) The font style of data in a column

Formula

String

(Read-write) The column formula if one exists

HeaderAlignment

Constant

(Read-write) The alignment (justification) of the header in a column

HeaderFontColor

Constant

(Read-write) The font color of the header in column

HeaderFontFace

Constant

(Read-write) The font face of the header in a column

HeaderFontPointSize

Constant

(Read-write) The font point size of the header in a column

HeaderFontStyle

Constant

(Read-write) The font style of the header in a column

IsAccentInsensitiveSort

Boolean

(Read-write) True if the column is sorted without regard to accent

IsCaseInsensitiveSort

Boolean

(Read-write) True if the column is sorted without regard to case

IsCategory

Boolean

(Read-only) True if the column is categorized

IsField

Boolean

(Read-only) True if the column is based on field values

IsFontBold

Boolean

(Read-write) True if the font style includes bold

IsFontItalic

Boolean

(Read-write) True if the font style includes italic

IsFontStrikethrough

Boolean

(Read-write) True if the font style includes strikethrough

IsFontUnderline

Boolean

(Read-write) True if the font style includes underline

IsFormula

Boolean

(Read-only) True if the column is based on a formula

IsHeaderFontBold

Boolean

(Read-write) True if the header font style includes bold

IsHeaderFontItalic

Boolean

(Read-write) True if the header font style includes italic

IsHeaderFontStrikethrough

Boolean

(Read-write) True if the header font style includes strikethrough

IsHeaderFontUnderline

Boolean

(Read-write) True if the header font style includes underline

IsHidden

Boolean

(Read-write) True if the column is hidden

IsHideDetail

Boolean

(Read-write) True if the column details for totals are hidden

IsIcon

Boolean

(Read-only) True if the column values are displayed as icons

IsNumberAttribParens

Boolean

Read-write) True if the number attributes include parentheses for negative numbers

IsNumberAttribPercent

Boolean

Read-write) True if the number attributes include displaying the number as a percent

IsNumberAttribPunctuated

Boolean

Read-write) True if the number attributes include punctuating the number at thousands

IsResize

Boolean

(Read-write) True if the column is resizable

IsResortAscending

Boolean

(Read-write) True if the column can be resorted in ascending order

IsResortDescending

Boolean

(Read-write) True if the column can be resorted in descending order

IsResortToView

Boolean

(Read-write) True if the column is a user-sorted column that allows the user to change to another view

IsResponse

Boolean

(Read-only) True if the column contains only response documents

IsSecondaryResort

Boolean

(Read-write) True if the column is a secondary column

IsSecondaryResortDescending

Boolean

(Read-write) True if the secondary column is descending

IsShowTwistie

Boolean

(Read-write) True if the expandable column displays a twistie

IsSortDescending

Boolean

(Read-write) True if the sorted column is descending

IsSorted

Boolean

(Read-write) True if the column is sorted

ItemName

String

(Read-only) Name of the item for which the value, if any, is in the column

ListSep

Constant

(Read-write) List (muli-value) separator for values in a column

NumberAttrib

Constant

(Read-write) Attributes for numeric values in a column

NumberDigits

Integer

(Read-write) Number of decimal places for numeric values in a column

NumberFormat

Constant

(Read-write) Format for numeric values in a column

Parent

NotesView

(Read-only) The view that contains a column

Position

Integer

(Read-only) Position of the column in the view, starting at 1

ResortToViewName

String

(Read-write) The name of the target view for a user-sorted column that allows the user to change to another view

SecondaryResortColumnIndex

Index

(Read-write) The index of the secondary sorting column of a user-sorted column that allows a secondary sorting column

TimeDateFmt

Constant

(Read-write) The format of time-date data in a column

TimeFmt

Constant

(Read-write) The format of time data in a column

TimeZoneFmt

Constant

(Read-write) The format of the zone in time-data in a column

Title

String

(Read-write) Title of the column

Width

Integer

(Read-write) The width of a column