Kbase P25348: How to check and see if another use changed a record
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  03/02/2009 |
|
Status: Verified
GOAL:
How to check and see if another use changed a record
FACT(s) (Environment):
All Supported Operating Systems
Progress 8.x
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)
FIX:
To find out if another user has changed a record that you now want to apply changes to use the following code:
FIND CURRENT SomeTable EXCLUSIVE-LOCK.
IF CURRENT-CHANGED SomeTable THEN
... Code Goes Here To Handle The Fact That Someone Has Changed The Record ...