DB does not provide an "open to append" command.
But you can open the 'old' file and although open the new file read the old file and write it the new one and then append your data.
a.e.
-
Filename$ is the name of the existing file (mydata.dat)
rem -----------------------------------------------------------
rem Append Data to a file
rem -----------------------------------------------------------
rename file Filename$, Filename$+"_old"
open to read 1, Filename$+"_old"
open to write 2, Filename$
while not file end(1)
read string 1, mydata$
write string 2, mydata$
endwhile
close file 1
rem
rem Add new Data
rem
write string 2, "New Dataline" ...
close file 2
delete file Filename$+"_old"
...
Using the code code, you can easily create a function to append to a file