Open Append text tile .txt

E

ernie

Hi all,

I have this table named, "Mytable" with three fields, "ID", "LNo" and
"Customer".
With a click of a button I need to save these two fields, "ID" and "LNo" to
a text file named "Customer" field. If the text file doesnt exist i would
like the code to create a text file first then open it to save the info at
the end of the file.

example:

ID | LNo | Customer
3 | 87 | Ernie


When i enter this information via a form, when i click the save button i
would like the code to search for the file in a specific location
"C:\Customer\". if the file is not found create the file and add the info to
the file.

the file would be named: Ernie.txt and the info: 3 87 would be added to
the end of the file.

Any help would deeply be appreciated
Thank you.
 
Top