Has no parameters
Description:
Tests to see if any (one or more) Records in the WorkQuery have the Error Field set. If so, the MOX Runtime will halt and display the first Error value it found in the WorkQuery.
This command should be used following Database operations where no errors are expected, as possible errors where anticipated and trapped ahead of time. In such a case, the halt will offer a final guarantee that no errors went untrapped or unreported.
In order to softly test for errors so that they may be handled by your code without halting the MOX Runtime, use the [AnyRecError]
TopQuery Attribute.
Example:
WorkWith "ToDo.List"
SetNew "Alias", `pList
Pull "Name DueDate"
Backfill
Update
End Backfill
FailIfRecError
End WorkWith