TableCreate: Boolean;
The TableCreate property determines whether the view could be saved. Creation of incorrect saved view is impossible.
Sub Main;
Var
MB: IMetabase;
Object: IMetabaseObject;
Predstav: IView;
Begin
MB:=MetabaseClass.Active;
Object:=MB.ItemById("View_1").Edit;
Predstav:=Object As IView;
Predstav.TableCreate:=True;
Object.Save;
End Sub Main;
After executing the example, the permission to create saved view is set for view with the View_1 identifier.
See also: