Memo type to text file.

  • Thread starter Thread starter Paul
  • Start date Start date
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?
 
Back
Top