SuppressEmpty: Boolean;
The SuppressEmpty property determines the state of the Filter Empty Values option.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
DIs: IPrxDataIslands;
DI: IPrxDataIsland;
Prop: IPrxDataIslandProperties;
THead: IPrxDataIslandHeader;
Filter: IPrxDataIslandHeaderFilter;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Report").Edit;
Report := MObj As IPrxReport;
DIs := Report.DataIslands;
DI := DIs.Item(0).Edit;
Prop := DI.Properties;
THead := Prop.TopHeader;
Filter := THead.Filter;
Filter.SuppressEmpty := True;
DI.Save;
MObj.Save;
End Sub Main;
After executing the example the Filter Empty Values option is enabled for columns of the first data area of the regular report. The identifier of the regular report - Report.
See also: