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

Importing Specification doesn't work any more!!

Status
Not open for further replies.

Mayo123

Technical User
Apr 23, 2005
58
US
In my VBA codes I used the saved specification to import text file which worked fine, but after I edited specification manually, it doesn't import data into Access database any more. Could you please tell me how to fix the problem?

Thanks in advance!
 
Thanks!
I created a new database and created a new importing specification, I can manually import the data with this newly-created specification, it worked fine. but when I used the specification in my VBA codes, it's still not working. Strange! By the way, I added two more fields at the end in my specification. Those two fields are not in the text file. Might this be the problem????
 
Your import specification should match the file to be imported. Why are you adding fields to the specification?
 
These two fields will get data from another table later.
 
You can create these fields with VBA, or append to a table that already has these fields. The import specification is not the place to be adding fields.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top