Problems with Transfer Text Action

S

Steve

I am trying to load a .txt file into my access database
and am experiencing problems. I load the file in via the
import wizard each day and have no problems, however, I
have not yet been able to do it successfully via a macro.

My setting are as follows:
Transfer Type: Import Delimited
Specification Name:
Table Name: Declarations
File Name: C:\Program Files\Raceform
Interactive\Export\Declarations.txt
Has Field Names: No
HTML Table Name:
Code Page:

When I run the macro I get the following message:
Field 'F1' doesn't exist in destination
table 'Declarations'. Microsoft Office was unable to
complete the append operation. The destination table
must contain the same fields as the table you are pasting
from.

Any ideas what I may be doing wrong ? Remember, I have
no problems when importing manually.

Thanks in advance
Steve
 
S

Steve Schapel

Steve

Run through the import wizard again, and when you get to the last sceen,
click the Advanced button, and save the set up as a Specification.
Then, nominate this specification in the Specification Name argument of
your TransferText macro.
 

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