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

Importing files via a macro 1

Status
Not open for further replies.

Dimonet

IS-IT--Management
Oct 17, 2001
65
US
I would like to import multiple files into a DB through a macro. What is the command to import a file via a macro including calling the location / spec and destination?

Thanks
 
Dimonet,
[tt]DoCmd.TransferText(acImportDelim, [SpecificationName], [TableName], [FileName])[/tt] sounds about right.

Hope this helps,
CMP

(GMT-07:00) Mountain Time (US & Canada)
 
Sorry for my ignorance. In the Macro step which action should I choose to then input the example you sent. Thanks in advance for your assistance.
 
I figured it out. Thanks very much for your assistance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top