>What kinds of suggestions do you have for this code? Obviously the answer 'it depends on what the data is to be used for' factors largely, but I was wondering about the in general or most common scenarios.
>
>TIA,
Bill,
In this case, trying to force an read of the disk, I would not go very far with it. If the requested recor dis locked by someone else the read is not good anyway cause the other user may change it right after your ead it. So, in this case I would,
lnCount = 1
DO WHILE NOT RLOCK() AND lnCount < 1000
lnCount = lnCount + 1
INKEY(.02,H)
ENDDO
UNLOCK