Use IanM's Matrix1 utilities. They are free and a must have for any DBPro programmer.
From the Matrix1 Help file:
Quote: "OPEN DATAFILE TO APPEND
Syntax
OPEN DATAFILE TO APPEND FileId, Filename$
IsOpen = OPEN DATAFILE TO APPEND( FileId, Filename$ )
Description
Attempts to open the specified file for read-write operation. Any data that exists in this file will be preserved. Any writes that take place will be appended to the data file.
If you do not have the correct access permissions to open the file then the command will fail silently.
If using the function form of this instruction, the function will return 1 if the file is open or 0 otherwise.
If using the command form of this instruction, you can check if the file was successfully opened by using the DATAFILE EXIST() function.
"
But it's quite possible that JoeCory wants none of this.
We see
m to be getting very good of late at generating long threads without relevant input from the original poster.