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

Automatically Import Table

Status
Not open for further replies.

risoam

MIS
Apr 17, 2002
33
US
Hi. I am looking for a way to automatically import a delimitted txt file using a specification that I have already created by clicking a button on a form. Has anyone ever attempted this? Thanks.
 
Hi!

You can do this either with a macro or in code by using the TransferText action(method). In code:

DoCmd.TransferText acImportDelim, "YourSpecFile", "TableName", "FilePath/Name"

The macro would look similar.

hth
Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top