Thank-you! I couldn't remember or find it for some reason.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David T. Meeks
Try using the RECORDLOCKED function...
Locked = RECORDLOCKED( file.variable, record.ID )
It will return you a value indicating the
when you enter the routine, try
IF RECORDLOCKED( F.VAR , ID ) THEN
set a flag for that file/id
END
do WRITEU's
when leaving the routine, test the flag to see if the record should
be released.
-Original Message-
From: [EMAIL PROT
Try using the RECORDLOCKED function...
Locked = RECORDLOCKED( file.variable, record.ID )
It will return you a value indicating the locked status, including
the type of lock and whether you own it or not
(for example, it'll tell you that you have a READL on it already, or
that Joe has a FILELOCK