Export table Data

S

Sigh

Hi,
Right now I am export the Data from my table to the
Text File with no delimiter manually. But I would like to
created the command button and write the code to Export my
table data to Text files. In this I will save alot of time.
What is the code that I can write to perform this function?

Any help would be very appriceated.
 
K

Ken Snell

Private Sub cmdButtonName_Click()
DoCmd.TransferText
End If

Note that there are various arguments that are mandatory and some that are
optional for this TransferText command.
 
J

Joe Fallon

Build a specification first.
Export it manually and step through the wizard.
Before you hit Finish, click Advanced and save the spec.
The use TransferText and the spec.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top