lookup file locked
Kenneth Brody
kenbrody at bestweb.net
Thu Oct 21 13:16:05 PDT 2004
Faisal Karim wrote:
>
> Is there any way I can display in filepro if someone is updating a record.
> Currently filepro puts a message on the bottom that the record# is being
> updated, but it does not show who is updating it. Does anyone in this group
> know a solution for this. I am running 4.8.12 in open server. Thanks in
> advance.
In 5.0, you can tell filePro to fail the lookup if it's locked, and then
use LOCKED() to test if the lookup failed because it was locked. However,
it doesn't tell you _who_ has it locked.
On *nix systems, you can use my showlock utility along with Bob Stockler's
lock.info shell script wrapper to determine such things. There is a version
for SCO available on Laura's website at
http://www.hvcomputer.com/download/public.html
Look for "lock.info".
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <ThisIsASpamTrap at gmail.com>
More information about the Filepro-list
mailing list