>If the logic works correctly in single-user mode, I would suggest you extend the idea to a LAN, applying rlock() to relevant records.
Actually will I have to RLOCK() the LDB and also there are corresponding stock entries in a stock ledger DBF, anything simpler. I have standard UDFs for save etc. somehow can I standarize the whole thing so I don't have to remember to RLOCK(). Where and how can I free the RLOCK(). Sorry but I am not much with LAN commands.