IRubricator.TreatEmptyStringAsNull

Syntax

TreatEmptyStringAsNull: Boolean;

Description

The TreatEmptyStringAsNull property determines whether to store empty strings as Null.

Comments

The property is used only in non-version time series databases.

Available values:

Features:

Example

Executing the example requires that the repository contains a time series database with the TSDB identifier.

Add links to the Cubes and Metabase system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    Rub: IRubricator;
Begin
    mb := MetabaseClass.Active;
    Rub := mb.ItemById("TSDB").Edit As IRubricator;
    Rub.TreatEmptyStringAsNull := True;
    (Rub As IMetabaseObject).Save;
End Sub UserProc;

After executing the example time series database parameters are changed: empty strings are stored as Null.

See also:

IRubricator