I would like to build a database application that I can use to manipulate data read from a csv file. The csv file is a data dump from a Wonderware HMI application. It contains all of the tags used in the application grouped by a keyword. As the csv file is read, the application will need to determine if the row of data is a header row or a data row. If it is a header row, the first column name will begin with a keyword. I would like to use this keyword to determine the table that the subsequent rows should be imported into. I have attached a spreadsheet that shows the raw csv file and an edited to show the logic that I have been using. I have to do this process for every project that I work on, so it would save me a huge amount of time if I could automate this.