Bare with me a minute before you throw rocks, but is there a difference in record locking between a Chain and Read?
Here's what I'm looking at. We have a control file that contains the next note number. In all our applications we either chain or setll/read the control file, get the number, add one to it, and then update the file. Sounds simple and straight forward, but somewhere along the line note are being created with duplicate note numbers. And the only difference I see is some chain to the file and some setll/read.