Hello Everyone, this is my first time posting here. I am having a problem with subdata sheets (One word or two? Sorry if I got it wrong). I will try to keep his a short as possible. It is similar to the last thread by Rabu5, but extended more.
I have a table with many columns for each of my companies. One of these columns is called Total. Also in the Companies table I have a subdatasheet that has 3 columns, ID, Company and Amount. There are numerous listings in each subdata sheet. Company in the subdata sheet is a foriegn key to the main table Companies.
My problem is this. What i would like to do it to total the subdata sheet Amounts and run some sort of update query to update the column Total in the main table.
The problems are A) I dont know how to do this, and B) I used the foriegn key idea for the subdata sheets, so there is a seperate table where all this data is stored. Here, there is a unique ID, and many duplicate values under companies (due to the numerous listings in the subdata sheet for each company).
Please Help any way possible!
Thank you.
I have a table with many columns for each of my companies. One of these columns is called Total. Also in the Companies table I have a subdatasheet that has 3 columns, ID, Company and Amount. There are numerous listings in each subdata sheet. Company in the subdata sheet is a foriegn key to the main table Companies.
My problem is this. What i would like to do it to total the subdata sheet Amounts and run some sort of update query to update the column Total in the main table.
The problems are A) I dont know how to do this, and B) I used the foriegn key idea for the subdata sheets, so there is a seperate table where all this data is stored. Here, there is a unique ID, and many duplicate values under companies (due to the numerous listings in the subdata sheet for each company).
Please Help any way possible!
Thank you.