WAG time because it doesn't make sense!
What operating system is being used by the "server" machine? Locks are held by the operating system where the files reside. If the OS is not robust enough to create a "lock" then you won't be able to get a lock on more than one record.
>I have since slimmed this down to the following:
>LOCAL llLocked
>llLocked = .F.
>
>DO WHILE NOT llLocked
> IF RLOCK("MyFile")
> llLocked = .T.
>
> ELSE
> WAIT WINDOW "Couldn't Lock Record !"
>
> ENDIF
>
>ENDDO
>
>
>When I get to this code I am using alias "myfile". This more ligHtweight version still will not let me lock my record. Another I've noticed is that I can lock a record once, but when I come back and try to lock another record, a different one, I can't. Same result, can't lock.
>
>What can be holding the lock? Is it on the header, the file?
*snip*
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao