Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting an access table

Status
Not open for further replies.

csk003

Programmer
Feb 9, 2004
26
0
0
US
Is there a way to export access table to a tab delimited text file using a button? And the text file name should
have a text(fixed) and time stamp of the export?
(I am pretty new to VBA)
 
A search produced this: :)
Access Export Format
thread705-812615
 

DoCmd.TransferText acExportDelim, specname, TableName, FileName, fieldnames

call from a button providing values as needed....

value for filename cound be:

filename=export & format(date(),shortdate)
 
Thanks to both of you. I could transfer a table and am looking at data formatting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top