ErrorCheckingOptions: ITabErrorCheckingOptions;
The ErrorCheckingOptions property returns parameters of error indication in table formulas.
Executing the example requires a form with the Button component named Button1, the UiReport component named UiReport1 and any visualizers, for which UiReport1 is set as a data source.
Add references to the following system assemblies: Tab, Report.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Report: IPrxReport;
ErrOptions: ITabErrorCheckingOptions;
Begin
Report := UiReport1.Report;
ErrOptions := Report.Options.ErrorCheckingOptions;
ErrOptions.EnableChecking := True;
ErrOptions.NumberAsText := False;
ErrOptions.ResetSkippedErrors;
End Sub Button1OnClick;
Clicking the button sets up parameters of error indication in report formulas. The numbers formatted as a text are not marked as errors. Missing errors are reset.
See also: