The MustExistExecuteStatement Method |
The internal Rules Engine MustExistExecuteStatement method is very similar to the executeStatement method. One difference is that the MustExistExecuteStatement method assumes that the records to be retrieved or manipulated are present. If there is no such record, an error message is generated: 'Record changed by another user.' Another difference is that when there are no errors, the MustExistExecuteStatement method always returns one row with one column containing the number of rows retrieved or manipulated. Since an error is generated when the return parameter is zero, this parameter is always greater than zero. |