IMetaDataMemberRecord.IsPermanent

Syntax

IsPermanent: Boolean;

Description

The IsPermanent property returns whether data of a record is saved in database. True - a record is saved, False - a record is not saved.

Example

Executing the example requires a time series database with the OBJ_FC identifier. This database includes a factor with the 94000 key.

Sub Main;

Var

MB: IMetabase;

RubrIn: IRubricatorInstance;

FactD: IRubricatorFactData;

MemberRecord: IMetaDataMemberRecord;

Begin

MB := MetabaseClass.Active;

RubrIn := MB.ItemById("OBJ_FC").Open(Null) As IRubricatorInstance;

FactD := RubrIn.GetFactData(94000);

MemberRecord := FactD.Record;

If MemberRecord.IsPermanent

Then Debug.WriteLine(Data are saved);

Else Debug.WriteLine(Data are not saved);

End If;

End Sub Main;

After executing the example information about saving of factor data is displayed in the console window.

See also:

IMetaDataMemberRecord