ErrorCheckingOptions: ITabErrorCheckingOptions;
ErrorCheckingOptions: Prognoz.Platform.Interop.Tab.TabErrorCheckingOptions;
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.
The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.
Imports Prognoz.Platform.Interop.Report;
Imports Prognoz.Platform.Interop.Tab;
…
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
Report: IPrxReport;
ErrOptions: ITabErrorCheckingOptions;
Begin
Report := UiReportNet1.ReportUi.Report;
ErrOptions := Report.Options.ErrorCheckingOptions;
ErrOptions.EnableChecking := True;
ErrOptions.NumberAsText := False;
ErrOptions.ResetSkippedErrors();
End Sub;
See also: