P Paul Apr 29, 2004 #1 How can I send the content of a memo data type to a text file using vb. Thanks
T Tim Ferguson Apr 29, 2004 #2 How can I send the content of a memo data type to a text file using vb. Click to expand... ' get an outbound stream wFileOut = FreeFile() ' open it Open "d:\mydata.txt" For Output As wFileOut ' write the memo field Print #wFileOut, rs.Fields("MyMemoField").Value ' close the file Close #wFileOut ' all done: now get another record or something. You can look up Open, Close, Print #, etc statements in help. The syntax for Open is pretty critical. Hope that helps Tim F
How can I send the content of a memo data type to a text file using vb. Click to expand... ' get an outbound stream wFileOut = FreeFile() ' open it Open "d:\mydata.txt" For Output As wFileOut ' write the memo field Print #wFileOut, rs.Fields("MyMemoField").Value ' close the file Close #wFileOut ' all done: now get another record or something. You can look up Open, Close, Print #, etc statements in help. The syntax for Open is pretty critical. Hope that helps Tim F