How about this?
Use the auto refresh technique that crashes when you chain to the subfile.
Create a data structure that has the same layout as your subfile display record including the RRN.
Create an array of this data structure.
When you write a record to the subfile, add it to the data structure array.
When it comes to processing the subfile with chain or readc, don't. Process the array instead. Then clear and rebuild the subfile from the ammended array.
Use the auto refresh technique that crashes when you chain to the subfile.
Create a data structure that has the same layout as your subfile display record including the RRN.
Create an array of this data structure.
When you write a record to the subfile, add it to the data structure array.
When it comes to processing the subfile with chain or readc, don't. Process the array instead. Then clear and rebuild the subfile from the ammended array.
Comment