Locks the current record or a specified list of records in a table.

Syntax

LOCK([<record list expC>,<alias>] | [<alias>])

<list expC>

The list of record numbers to lock, separated by commas.

<alias>

The work area in which to lock records.

Description

LOCK( ) is identical to RLOCK( ). For more information, see RLOCK( ).