FIND-BY-ROWID( ) method
Locates the record with the rowid you specify, then moves the record into the buffer.
Return type: LOGICAL
Applies to: Buffer object handle
rowid
SHARE-LOCK | EXCLUSIVE-LOCK | NO-LOCKNO-WAITThe FIND-BY-ROWID method returns TRUE if it finds the record, and FALSE if it does not.
The following is an example:
Note: The FIND-BY-ROWID method corresponds to a FIND statement of the form FINDbuffer
WHERE ROWID (buffer
) =rowid
..., etc. That is, triggers are honored, and the default lock mode is SHARE-LOCK. One difference, however, is that the FIND-BY-ROWID method does not raise an error if it cannot find the record.
OpenEdge Release 10.2B
|