IMsMetaModel.CalculateIdentOnFact

Syntax

CalculateIdentOnFact: Boolean;

Description

The CalculateIdentOnFact property determines whether to load data on calculating on the Fact scenario.

Comments

The property is taken into account for the model included in the metamodel calculation chain if:

Available values of CalculateIdentOnFact:

Example

Executing the example requires a modeling container with the MS identifier containing a metamodel with the METAMODEL identifier.

Add links to the Metabase and Ms system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    MetaModelObj: IMetabaseObject;
    MetaModel: IMsMetaModel;
Begin
    mb := MetabaseClass.Active;
    // Get metamodel
    MetaModelObj := mb.ItemByIdNamespace("METAMODEL", mb.GetObjectKeyById("MS")).Edit;
    MetaModel := MetaModelObj As IMsMetaModel;
    //Specify that the data on calculation should be loaded for the Fact scenario
    MetaModel.CalculateIdentOnFact := True;
    // Save changes
    MetaModelObj.Save;
End Sub UserProc;

After executing the example on calculating the METAMODEL metamodel the data is loaded for the Fact scenario.

See also:

IMsMetaModel