| Chaim,
I'm not sure if this answer will help you, but DATA_FILE LOCK simply
calls the standard RMS routines already built into ALL-IN-1 to do data file
locking. And as far as I can tell from the code, this is *not* an exclusive
lock.
In fact, you can see this at the user level by calling up an entry form
and starting to change a record. Then, from another process, call up the same
entry form *in INQUIRE mode*. You'll find that you *CAN* still access that same
record for Read only. However, if the second process calls the entry form in
any other mode, you will get the traditional ALL-IN-1 error that the record is
in use.
So DATA_FILE LOCK doesn't "bypass" any of this; it merely allows you to
call the existing routines directly. My only suggestion would be to have the
application actually try to access the record for write first, which would
fail if there was a lock already on the record.
F
|