IsDirty: Boolean;
The IsDirty property determines whether the regular report contains pending changes.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
Title: IPrxReportTitle;
s: String;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
Report.Sheets.Item(0).Table.Cell(0, 0).Value := "Q";
If Report.IsDirty Then
s := "Yes";
Else
s := "No";
End If;
End Sub Main;
After executing the example the "s" variable contains Yes if the regular report has been changed. The identifier of the regular report - Report.
See also: