I have 3 tables, with relationships like:
Table1\Project (primary key)
Table2\Project (link to Table1)
Table2\StatusRe port
Table2\Index (primary key)
Table3\Index (link to table2)
Table3\Notes
All those are one to many relationships, so
Table1 -> Table2 -> Table3
I have a form that works to input data into these, and if I browse the raw tables I also can add the data, maintaining the links and all that. The question is - how can I do it in VBA? My goal is to import from current excel-based status reports specific cells into different places in all three tables. But I don't have a clue where to start actually adding the data to the tables. I've got the excel object side of things ok, and I can read the values I want - I just don't know how to put them where they go.
Table1\Project (primary key)
Table2\Project (link to Table1)
Table2\StatusRe port
Table2\Index (primary key)
Table3\Index (link to table2)
Table3\Notes
All those are one to many relationships, so
Table1 -> Table2 -> Table3
I have a form that works to input data into these, and if I browse the raw tables I also can add the data, maintaining the links and all that. The question is - how can I do it in VBA? My goal is to import from current excel-based status reports specific cells into different places in all three tables. But I don't have a clue where to start actually adding the data to the tables. I've got the excel object side of things ok, and I can read the values I want - I just don't know how to put them where they go.
Comment