ICubeMetaUpdateEx.SkipEmptySourceValues

Syntax

SkipEmptySourceValues: Boolean;

Description

The SkipEmptySourceValues property determines whether empty values (Null) contained in a data source are skipped.

Comments

If the property is set to True, empty data points (Null) are not pasted from the source to the data consumer. If the property is set to False, empty data points (Null) are pasted from the source to the data consumer. The default value is False.

Example

Executing the example requires that the repository contains a time series database with the FC identifier (data source) and a time series database with the FC_COPY identifier (data consumer). Structures of times series databases must match. Also, add links to the Cubes and Metabase system assemblies.

    Sub UserSub;
    Var
        mb: IMetabase;
        CrInfo: IMetabaseObjectCreateInfo;
        Obj: IMetabaseObject;
        ObjDesc: IMetabaseObjectDescriptor;
        RubUpdateEx: ICubeMetaUpdateEx;
        Rub: IRubricator;
    Begin
        mb := MetabaseClass.Active;
        RubUpdateEx := New CubeMetaUpdateClass.Create As ICubeMetaUpdateEx;
        Rub := mb.ItemById("FC").Bind As IRubricator;
        RubUpdateEx.Rubricator := Rub;
        RubUpdateEx.CopyData := True;
        RubUpdateEx.CopyExtraObjects := False;
        RubUpdateEx.Metabase := Mb;
        RubUpdateEx.TargetRubricator := mb.ItemById("FC_COPY").Bind As IRubricator;
        RubUpdateEx.SkipEmptySourceValues := True;
        RubUpdateEx.Apply(Null);
    End Sub UserSub;

After executing the example data of the time series database with the FC identifier is replicated to the FC_COPY database. Data points that are absent in the data source will not be pasted to the data consumer.

See also:

ICubeMetaUpdateEx