RecordNumber (RecordLockingConflict property): Difference between revisions
Jump to navigation
Jump to search
m (match syntax table to syntax template, tags and edits) |
m (we don't need another % sign) |
||
Line 9: | Line 9: | ||
<td>A numeric variable to receive the record number. | <td>A numeric variable to receive the record number. | ||
</td></tr> | </td></tr> | ||
<tr><th> | <tr><th>recordLockingConflict</th> | ||
<td>A reference to an instance of a <var>[[RecordLockingConflict_class|RecordLockingConflict]]</var> object. | <td>A reference to an instance of a <var>[[RecordLockingConflict_class|RecordLockingConflict]]</var> object. | ||
</td></tr></table> | </td></tr></table> |
Revision as of 07:19, 23 April 2011
Record number of the record that has the conflict (RecordLockingConflict class) This readOnly property returns the numeric value of the Model 204 internal record number of the record that has the conflict.
Syntax
%number = recordLockingConflict:RecordNumber
Syntax terms
%number | A numeric variable to receive the record number. |
---|---|
recordLockingConflict | A reference to an instance of a RecordLockingConflict object. |
Example
-
The following example shows all the properties of the RecordLockingConflict class. While the standard record locking conflict information is available for retrieval via the User Language functions $rlcfile, $rlcrec, $rlcuid, and $rlcusr, that information is also set in the exception object and retrievable via that object:
%rlc is object RecordLockingConflict ... %rec = new(%recnum, none, loopLockStrength=share) ... try for record %rec ... end for catch recordLockingConflict to %rlc auditText Conflict on record {%rlc:recordNumber} - in file {%rlc:filename} auditText Conflicting user was userid {%rlc:userid}, - with user number:{%rlc:userNumber} end try