Lock the current record.
XSharp.RT (in XSharp.RT.dll) Version: 2.2a
Syntax View Source
uRecID AS USUAL
) AS LOGIC
public static bool VoDbRlock(
- Type: Usual
The ID of the record to be locked. To omit, specify NIL. This will lock the current record and release all previously locked records.
TRUE if the record lock is obtained; otherwise, FALSE. An attempt to lock a record in an empty database returns TRUE.
VODBRLock() is like DBRLock() but is strongly typed. This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails. Thus, it may be important to check the return value to determine if the function succeeded. The global structure, StrucErrInfo, will contain needed information regarding any error that occurs. See DBRLock() for more information and examples.
Examples See Also