|
|
|
|
|
- Example: Processing the errors and the sub-errors (view)
Example: Processing the errors and the sub-errors (view) The following example is used to process the different errors and sub-errors that occur when importing a view into a file. MyView is Data Source ... // Update the records of the view in the initial file IF HViewToFile(MyView) = False THEN // An error occurred while updating the file Info("Error during the HViewToFile operation:" + HErrorInfo()) // Display all the records that caused a problem nError is int = HError(hSubErrFirst) // Loop through sub-errors WHILE nError <> hNoError // Display the error Info(HErrorInfo() + CR + "number of the record in the view:" + ... HErrorInfo(hErrRecNum)) // Next sub-error nError = HError(hSubErrNext) END END
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|