create and edit txt file

Nishikawa

Registered User.
Local time
Today, 15:44
Joined
May 17, 2007
Messages
97
Hi,

Can anyone teach me how to create and edit a text file usinb vba?
I am unable to be use:
DoCmd.TransferText acImportDelim, , "tableName", "c:\test.txt"
as I am not apeending an entire table.
 
Use a query to extract the data you want and transfer that to the text file.
The same command except "tablename" becomes "queryname".
 
Can anyone teach me how to create and edit a text file usinb vba?
here is one thing you can do that transfers textbox typings into the text file. you have to open the file for input/output to transfer text in and out of it, just like a stream object is used.
 

Attachments

Users who are viewing this thread

Back
Top Bottom