IsEmpty: Boolean;
The IsEmpty method returns True if a header is empty.
Sub Main;
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 Main;
After executing the example the s variable contains Empty if the report header is empty. Express report identifier - EXPRESS_REPORT.
See also: