Hello! I have written a small piece of code for an Access 97 database to import multiple text files into 1 master table on a weekly basis. Each text file contains approximately 10 columns and 96 rows. Now for the tricky part:
Each text file may contain rows that are identical within another text file. Which means, when they are all imported into the master table, there will be duplicate rows.
SO...what I am looking for is a bit of code that will take the name of the text file and append it into a "FileName" column in the master table for each row (row # may vary by file) in the text file.
Can anyone help me?!
Each text file may contain rows that are identical within another text file. Which means, when they are all imported into the master table, there will be duplicate rows.
SO...what I am looking for is a bit of code that will take the name of the text file and append it into a "FileName" column in the master table for each row (row # may vary by file) in the text file.
Can anyone help me?!