Progress
ADM 2 Reference
lockRow (wbdata.p)
Locks all the records for the query or creates records for the tables in the query if the AddMode property is set to TRUE. Returns FALSE if it fails to lock the record for some reason.
Parameters:INPUT pLock AS CHARACTER
If the option begins
“
EXCLUSIVE”
the records will be locked exclusively. Otherwise the records will be NO–LOCKed.Returns: LOGICALNotes:
- The function is only used for database data-sources.
- The function will return FALSE and add the necessary error messages to the ADM 2 message queue if the record is unavailable or locked.
- Used internally by assignFields and deleteRow and not intended for external use.
- Also used internally to reset the lock to NO–LOCK when a transaction ends.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |