accessing txt files

B

bbdobuddy

Hi,

What is the correct syntax to get access to a txt file for appending text
within a form. I am having struggles finding it

Thanks
bbdobuddy
 
N

Nikos Yannacopoulos

It would be something like:

Open "C:\My Documents\SomeFile.txt" For Append As #1
Print #1, Forms![MyForm]!Text1
Close #1

HTH,
Nikos
 
R

Ronald W. Roberts

bbdobuddy said:
Hi,

What is the correct syntax to get access to a txt file for appending text
within a form. I am having struggles finding it

Thanks
bbdobuddy
Look in help for Input, Input$, Get, Put, Print.

Ron
 
Top