AccessDevJunior
Programmer
I have 8 tables:
Tbl_Main
Tbl_a
Tbl_b
Tbl_c
And so on,
Each table contains a field named ‘Reference Number’ and it is this field that relates all the tables together, in the ‘tbl_Main’ the ‘Reference Number’ is the Primary Key.
For each of the sub tables (tbl_a, tbl_b etc) I have created a query and each query contains an expression.
I would like to get the result of the expressions in the sub queries into ‘tbl_Main’.
I have attempted to do this by using an append query but an error occurs when I run the query. I then changed the ‘Reference Number’ in the ‘tbl_main’ so it was no longer a primary key then run the same append query, it worked but it created duplicate values.
Can anyone please help for a solution for this
Tbl_Main
Tbl_a
Tbl_b
Tbl_c
And so on,
Each table contains a field named ‘Reference Number’ and it is this field that relates all the tables together, in the ‘tbl_Main’ the ‘Reference Number’ is the Primary Key.
For each of the sub tables (tbl_a, tbl_b etc) I have created a query and each query contains an expression.
I would like to get the result of the expressions in the sub queries into ‘tbl_Main’.
I have attempted to do this by using an append query but an error occurs when I run the query. I then changed the ‘Reference Number’ in the ‘tbl_main’ so it was no longer a primary key then run the same append query, it worked but it created duplicate values.
Can anyone please help for a solution for this