FocError

FocError contains the return code from the INCLUDE, UPDATE, and DELETE commands. If all the rows in the stack are successfully processed, FocError is set to zero (0). FocError is set to a non-zero value if:

  • INCLUDE rejects the input.
  • UPDATE rejects the update.
  • DELETE rejects the delete.
  • REVISE rejects the changes.

FocError is a global variable. You do not need to pass it between procedures. Its value is cleared each time a Maintain Data procedure is called.