johngwesterman
Technical User
I am trying to import multiple files that are in different layouts into a single Access database table. I have written a couple of append queries that take the imported data from several temporary tables, perform cleansing operations on a couple of fields, and append the cleansed records into a single table that I use for reporting. The problem is that I currently have to write a seperate SQL statement for each input file which is messy and will be impossible to maintain - I'd like to have one generic SQL statement that I can run each input file through, possibly using variable names for the SELECTED fields, but given the different data layouts, and different operations that need to be performed given a particular input field, I'm not sure how to do this.
Anyone have any ideas?
Anyone have any ideas?