>
if rlock('0','mytable') then
> insert into mytable values (value1, value2)
> unlock record 0 in mytable
>else
> * you can't log in right now, try again
>endif
>
>You could put this in a loop with a counter or you could bump up reprocess so VFP internally runs its own loop and counter.
For right now I will stick with an ELSE that sends me email when the lock never occurred, with some data so I can research the problem.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope