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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting a table to CSV format 1

Status
Not open for further replies.

techkenny1

Technical User
Joined
Jan 23, 2009
Messages
182
Location
AU
Hi all,

I have a requirement to be able to export a table to csv format.
I know I can use the Export command in the menu for this, but I would like to just be able to use a command button to do it automatically.
Many thanks,

kp
 
Try the OutputTo method. Here is an example from Help
Code:
DoCmd.OutputTo acOutputTable, "Employees", _
    acFormatRTF, "Employee.rtf", True

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top