Name
Record.State Property — (Versions 2.5, 2.6)
Synopsis
state
= record.State
The State property indicates the current state of the Record object.
Datatype
Long (ObjectStateEnum)
Description
The read-only State property returns a Long value that can be
evaluated as an ObjectStateEnum enumeration value. The default value
for the Record object is closed (adStateClosed
).
For the Record object, the State property can return multiple values
when the object is executing an operation asynchronously (i.e.,
adStateOpen
and
adStateExecuting
).
See Also
ObjectStateEnum Enumeration
Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.