I am trying to create a form that will allow me to upload data from Excel.
The data that is in the excel spread sheet needs to go into a table the is linked to other tables. The excel spread sheet has the data as such
- Product Name
- Model
- Manufacturer
- Type
The database tables are setup as such:
Tables
Catalog Product Table
- Catalog Model PK
- Model FK
- Product FK
Product Table
- Product PK
- Product Name
Model Table
- Model PK
- Manufacturer FK
- Type FK
I was thinking if I uploaded the excel spread sheet data into a blank table then ran a loop function that will look for the model, manufacturer, and type informaiton and save the information Model PK and joining Product PK in the Catalog table.
I only know a little VBA and am unable to write a function like this.
Any help whether this will work and or some coding is greatly appreciated.
Attached a sample DB
The data that is in the excel spread sheet needs to go into a table the is linked to other tables. The excel spread sheet has the data as such
- Product Name
- Model
- Manufacturer
- Type
The database tables are setup as such:
Tables
Catalog Product Table
- Catalog Model PK
- Model FK
- Product FK
Product Table
- Product PK
- Product Name
Model Table
- Model PK
- Manufacturer FK
- Type FK
I was thinking if I uploaded the excel spread sheet data into a blank table then ran a loop function that will look for the model, manufacturer, and type informaiton and save the information Model PK and joining Product PK in the Catalog table.
I only know a little VBA and am unable to write a function like this.
Any help whether this will work and or some coding is greatly appreciated.
Attached a sample DB