Show contents 

Express > Express Assembly Interfaces > IEaxHeader > IEaxHeader.IsEmpty

IEaxHeader.IsEmpty

Syntax

IsEmpty: Boolean;

Description

The IsEmpty method returns True if a header is empty.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Expr: IEaxAnalyzer;
    Header: IEaxHeader;
Begin
    MB := MetabaseClass.Active;
    Expr := MB.ItemById("EXPRESS_REPORT").Bind As IEaxAnalyzer;
    Header := Expr.Header;
    If Header.IsEmpty Then
        s := "Empty";
    Else
        s := "Don't Empty";
    End If;
End Sub UserProc;

After executing the example the s variable contains Empty if the report header is empty. Express report identifier - EXPRESS_REPORT.

See also:

IEaxHeader