NTDOCNTDOC Administrator
Registered: 2000-07-28
Posts: 11628
Loc: CA
Well here is a condensed version (currently does not work properly but close). Perhaps Jooel or Mart or someone else has the time to help you complete it.
The issue is in how the Open/Read/Write works - it finds the data, but then writes multiple times which it shouldn't do - just don't have time to further debug it.