J
Jack
I have been trying to import a text file to a table. The
file was saved using the exort wizard from the oriningal
table. There is only one field in this table that I set up
just to test the module. I am using Access 2000 and a VB
module. This is the line of code:
"DoCmd.TransferText acImportDelim, "TblTest Import
Specification", "tblTest", "A:\tblTest.txt", 0"
I got the error "Field F1 doesn't exist...". I then went
to microsoft web and found the error message and opened
the import wizard, clicked advanced and named the field.
Then I got the error "Field F2 doesn't exist...". I went
back to the wizard and saw that I hadn't checked
the "Skip" box next to the other six fields. I did
everything over again and tried to "Save as" and keep
getting an error message "An error occured trying to save
export/import specification". I even closed & reopened the
database and tried again. I also renamed it by adding a 1
to the end of the filename but it still would not work.
How do I set the specification?
Thank you,
Jack
file was saved using the exort wizard from the oriningal
table. There is only one field in this table that I set up
just to test the module. I am using Access 2000 and a VB
module. This is the line of code:
"DoCmd.TransferText acImportDelim, "TblTest Import
Specification", "tblTest", "A:\tblTest.txt", 0"
I got the error "Field F1 doesn't exist...". I then went
to microsoft web and found the error message and opened
the import wizard, clicked advanced and named the field.
Then I got the error "Field F2 doesn't exist...". I went
back to the wizard and saw that I hadn't checked
the "Skip" box next to the other six fields. I did
everything over again and tried to "Save as" and keep
getting an error message "An error occured trying to save
export/import specification". I even closed & reopened the
database and tried again. I also renamed it by adding a 1
to the end of the filename but it still would not work.
How do I set the specification?
Thank you,
Jack