Hi
I have an Access 2000 table called "Products". The primary field is "ProductNumber". This table also a memo field "Description", which should contain the product description.
I wish to import the product descriptions from DacEasy accounting text files (*.txt).
Each product's description is stored as a separate text file in the format "ProductNumber.txt", hence for each ProductNumberX record, there's a corresponding "ProductNumberX.txt" file.
My problem is:
How can I be able to read all the .txt files from a given directory, and export each .txt file into the corresponding "Description" field in the "Products" table, such that ProductNumberX.txt file is imported into the "Description" field of ProductNumberX, ProductNumberY.txt into ProductNumberY, etc...
Many thanks.
AbbyAnu.
I have an Access 2000 table called "Products". The primary field is "ProductNumber". This table also a memo field "Description", which should contain the product description.
I wish to import the product descriptions from DacEasy accounting text files (*.txt).
Each product's description is stored as a separate text file in the format "ProductNumber.txt", hence for each ProductNumberX record, there's a corresponding "ProductNumberX.txt" file.
My problem is:
How can I be able to read all the .txt files from a given directory, and export each .txt file into the corresponding "Description" field in the "Products" table, such that ProductNumberX.txt file is imported into the "Description" field of ProductNumberX, ProductNumberY.txt into ProductNumberY, etc...
Many thanks.
AbbyAnu.