Guest_imported
New member
- Jan 1, 1970
- 0
I need a hand with importing some data from an Excel spreadsheet. I am not a DBA by any means so please bear with me on this.
I have an Excel spreadsheet with the following columns.
ResponseID, Response1, Response2,..., Response99
Now, I have an Access Database with two seperate tables. The first table, Respondents, and the second table, Responses.
What I need to do is this. For each ROW of data in the Excel spreadsheet I need to import the ResponseID into table Respondents. Then, using the ID that is autogenerated from inserting the ResponseID into Respondents I need to then insert each of the ResponseX values into table Responses. Each time I insert a ResponseX I also need to store the ID of the correspondent ResponseID from table Respondents into the record as well.
Does this make any sense? If you can help I would be forever grateful.
Best.
I have an Excel spreadsheet with the following columns.
ResponseID, Response1, Response2,..., Response99
Now, I have an Access Database with two seperate tables. The first table, Respondents, and the second table, Responses.
What I need to do is this. For each ROW of data in the Excel spreadsheet I need to import the ResponseID into table Respondents. Then, using the ID that is autogenerated from inserting the ResponseID into Respondents I need to then insert each of the ResponseX values into table Responses. Each time I insert a ResponseX I also need to store the ID of the correspondent ResponseID from table Respondents into the record as well.
Does this make any sense? If you can help I would be forever grateful.
Best.