After any set-based data source operation (FOR ... UPDATE, DELETE, REVISE, or INCLUDE), if FocError is set to a non-zero value, then FocErrorRow is the number of the row that caused the error.

FocErrorRow is local to a procedure. If you wish a given FocErrorRow value to be available to another procedure, you must pass it to that procedure as an argument.