well, I will tell you a small solution to fix your problem and make your app. multi user, all you need is the following:
in the start of you program I asume it is prg file add
set exclusive off
set reprocess to auto
in each time you save add this commands.
select tablename
if flock() or rlock() depend on which level you need to work
replace field with var
endif
unlock
be careful of and counters you have because you have to check if the value is exist or not.
good luck
Hisham
Best Regards,
Hisham Serry
IT Management