It's also good to note that data is written via a file buffer, so if you check your data, by finding it and then viewing it in notepad, it might not have all the entries printed to it yet. A CLOSE or something to end the program, other than probably an error message, is needed to write the remaining buffered data to t he file.
I hope I got that all correct, because I'm writing this from my 30 year memory... which is in drastic need of an upgrade!!!
Fred, ah I mean Pete
PS: I put "probably" about the error situation. Maybe it dumps the buffer data to the file, maybe it doesn't. ???