Memo type to text file.

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

How can I send the content of a memo data type to a text file using vb.

Thanks
 
Paul said:
How can I send the content of a memo data type to a text file using
vb.

Thanks

From a form in which the memo field is represented by a text box, you
could do something like this simplified code:

Private Sub cmdSave_Click()

Open "C:\Temp\OutputFile.txt" For Output As #1
Print #1, Me.txtFileData.Value;
Close #1

End Sub

Is that the sort of thing you were looking for?
 

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

Back
Top