Equinox Online Help - Language Reference - A to Z

Home

MirrorVerifyRecord

Applies to
SyntaxMirrorVerifyRecord [updaterecord]
Action[Statement] Checks an Equinox record against its mirror
ScopeUsable in forms or subtables
Notes

This statement checks the current record against the data held in the mirror. SysReply contains the result of the comparison. If the optional parameter UpdateRecord is supplied and set to 1, the mirror record is updated if it is different. If an unexpected error occurs during the update, SysError is set to a non-zero value, otherwise zero.

This statement was implemented in Equinox 4.20 and is included here for completeness. See the help for more details.

CategoryMirroring
See Also  
Example

This example checks the current record against the data held in the mirror and reports back via a simple print statement

subtable Books
MirrorVerifyRecord 1

if syserror then
print "Mirror was incorrect but has been updated"
end if
end subtable | Books