ICalendarDimension.EndYearAsParam

Syntax

EndYearAsParam: Boolean;

Description

The EndYearAsParam property determines status of the Do not Fix End Date (Determine as Dictionary Parameter) option.

Comments

If this property is set to True, a parameter with the YEAR_FINISH identifier is created in the dictionary. This parameter will be used to type in calendar end date.

Example

Executing the example assumes that the repository contains a calendar dictionary with the CALENDAR_DIM identifier.

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

CalDim: ICalendarDimension;

Begin

MB:=MetabaseClass.Active;

MObj:=MB.ItemById("CALENDAR_DIM").Edit;

CalDim:=MObj As ICalendarDimension;

CalDim.EndYearAsParam:=True;

MObj.Save;

End Sub Main;

After executing the example the Do not Fix End Date (Define as Dictionary Parameter) option is enabled for the calendar dictionary.

See also:

ICalendarDimension