accessing txt files

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top