Hello,
I have multiple text files for which the import works fine. I am able to read the contents and insert data into the access database.
My question is, if I need to maintain the file name in the same table as the imported data, how can I achieve this.
So, FileA has 5 columns, 10 rows, the data is read and inserted into Table X, Also table X needs to have the file name in the 6th column for all these rows.
I am using DoCmd.TransferText acImportFixed, "My Specs", "Table X", "MyFile.txt", true
Your help is much appreicated.
I have multiple text files for which the import works fine. I am able to read the contents and insert data into the access database.
My question is, if I need to maintain the file name in the same table as the imported data, how can I achieve this.
So, FileA has 5 columns, 10 rows, the data is read and inserted into Table X, Also table X needs to have the file name in the 6th column for all these rows.
I am using DoCmd.TransferText acImportFixed, "My Specs", "Table X", "MyFile.txt", true
Your help is much appreicated.