Edgar,

This is not a DR error. It is a DataFlex error when doing anything with sequential I/O which fails. You need to see what you do in the code from the button.