Verify

ACCPAC Common Controls

AccpacView.Verify

Checks the referential integrity of the view's current record.

Sub Verify()

Remarks

This method will validate the field values of the current record.

Do this check prior to writing the record to the database (before calling Update), particularly if any fields were put into the view without field-level verification.

Immediately after the Verify call, use the LastReturnCode property to get the return code from the referential integrity check. A return code of 0 indicates success, a negative return code indicates a warning, and a positive return code indicates an error.