IPrxReport.IsDataChanged

Syntax

IsDataChanged: Boolean;

Description

The IsDataChanged property returns True if the cells of the data area of the regular report have been changed.

The property is outdated, use IPrxDataChange.IsDataChanged.

Example

Executing this example requires a regular report with the Report identifier and a data area located in this report.

Sub Main;
Var
    MB: IMetabase;
    Report: IPrxReport;
    s: String;
    x, y: Integer;
Begin
    MB := MetabaseClass.Active;
    Report := MB.ItemById("Report").Edit As IPrxReport;
    Report.DataIslands.Item(0).Sheet.Recalc;
    x := Report.DataIslands.Item(0).Range.Top + 1;
    y := Report.DataIslands.Item(0).Range.Left + 1;
    Report.ActiveSheet.Table.Cell(x, y).Value := 10;
    If Report.IsDataChanged Then
        s := s + " Yes";
    Else
        s := s + " No";
    End If;
End Sub Main;

After executing the example the "s" variable contains Yes if the regular report contains changed data.

See also:

IPrxReport