class LockField
A _DBASELOCK field in a DBF table.
Syntax
These objects are created automatically by the rowset.
Properties
The following table lists the properties of the LockField class. (No events or methods are associated with this class.) For details on each property, click on the property below.
Property |
Default |
Description |
LOCKFIELD |
Identifies the object as an instance of the LockField class | |
(LOCKFIELD) |
Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName | |
_DBASELOCK |
Name of the field the LockField object represents (read-only) | |
|
Date and time of last row lock | |
null |
fields array that contains the object | |
|
Date and time of last row update | |
|
Name of user that last locked or updated the row |
Description
A LockField object is used to represent the _DBASELOCK field in a DBF table that has been CONVERTed. By examing the properties of a LockField object, you may determine the nature of the last row lock or update.
When a row is locked, either explicitly or automatically, the time, date, and login name of the user placing the lock are stored in the _DBASELOCK field of that row. When a file is locked, this same information is stored in the _DBASELOCK field of the first physical record in the table.
If a DBF table has a _DBASELOCK field, the LockField object is always the last field in the fields array, and is referenced by its field name, "_DBASELOCK".
All the properties of a LockField object are read-only.