I am trying to automate a process of importing a comma seperated delimited file into access. Also, I am trying to start on the forth row. I saw this posting for a similar question, but need a little more specific explanation {is "SpecName" the name I give to the saved procedure? table name where I want the data to end up? "filename" the file that I am importing? is full path refering to the full path of the delimted file location?), as well as if I can start on the forth row. Thanks, Rick
You must first import the file once manually with the import wizard.
When you get to the last window of the wizard, you must click the "advanced" button and then "save as" and give the import specification a name.
Then you create an event procedure for your button. Type the command
sub button1_onclick
docmd.TransferText acImportDelim,"SpecName","tablename","filename" = full path
end sub
You must first import the file once manually with the import wizard.
When you get to the last window of the wizard, you must click the "advanced" button and then "save as" and give the import specification a name.
Then you create an event procedure for your button. Type the command
sub button1_onclick
docmd.TransferText acImportDelim,"SpecName","tablename","filename" = full path
end sub