achalrikhi
New Member
- Joined
- Nov 20, 2013
- Messages
- 38
Hello Friends,
I had an issue for exporting access table data to a text file format but I found a simple solution now. Like this :
DoCmd.TransferText acExportDelim, "exportdata", "Data", "C:\Users\welcome\Desktop\output.txt", True
this is working very fine. Only issue is that I do not want certain columns from the table and I don't know how to use select statement and where ? for eg.
I want a query like this :
Select Field 1, Field 3, Filed 4 from < TABLE NAME > where SERIES ( Table field ) = "EQ"
Please advice that how and where to put this query to export data along with Do.Cmd statement.
Regards
Achal
I had an issue for exporting access table data to a text file format but I found a simple solution now. Like this :
DoCmd.TransferText acExportDelim, "exportdata", "Data", "C:\Users\welcome\Desktop\output.txt", True
this is working very fine. Only issue is that I do not want certain columns from the table and I don't know how to use select statement and where ? for eg.
I want a query like this :
Select Field 1, Field 3, Filed 4 from < TABLE NAME > where SERIES ( Table field ) = "EQ"
Please advice that how and where to put this query to export data along with Do.Cmd statement.
Regards
Achal