IView.ForceCreate

Syntax

ForceCreate: Boolean;

Description

The ForceCreate property determines whether it is possible to create an incorrect view. Creation of incorrect saved view is impossible.

Example

Sub Main;

Var

MB: IMetabase;

Object: IMetabaseObject;

Predstav: IView;

Begin

MB:=MetabaseClass.Active;

Object:=MB.ItemById("View_1").Edit;

Predstav:=Object As IView;

Predstav.ForceCreate:=True;

Object.Save;

End Sub Main;

After executing the example, the permission to create incorrect view is set for view with the View_1 identifier.

See also:

IView