accessing txt files

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
It would be something like:

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

HTH,
Nikos
 
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
 
Back
Top