I really need help with this one. I have several places within my database that have calculations within a query. Now, I have to query on that calculation result in reports. I am trying to create an update query but, this is my first time doing this. Let me explain:
There are 4 queries and one table. Each of the 4 queries have a addition calculation that I would like to report to the table.
Query 1: Upgrade 2T2 5lvlQry
Query 2: Upgrade 2T2 7lvlQry
Query 3: Upgrade 2T0 5lvlQry
Query 4: Upgrade 2T0 7lvlQry
Table : UpgradeMain
All of the queries have a column labeled "Core Tasks". Below is an example of the code that doesn't work. Does anyone have any ideas on the best way to write the code?
UPDATE (UpgradeMain INNER JOIN [Upgrade 2T2 5lvlQry] ON UpgradeMain.SSN=[Upgrade 2T2 5lvlQry].SSN)
INNER JOIN [Upgrade 2T2 7lvlQry] ON UpgradeMain.SSN=[Upgrade 2T2 7lvlQry].SSN SET
[Upgrade 2T2 5lvlQry].[Core Tasks] = UpgradeMain.[Core Tasks],
[Upgrade 2T2 7lvlQry].[Core Tasks] = UpgradeMain.[Core Tasks],
[Upgrade 2T0 5lvlQry].[Core Tasks] = UpgradeMain.[Core Tasks],
[Upgrade 2T0 7lvlQry].[Core Tasks] = UpgradeMain.[Core Tasks];
There are 4 queries and one table. Each of the 4 queries have a addition calculation that I would like to report to the table.
Query 1: Upgrade 2T2 5lvlQry
Query 2: Upgrade 2T2 7lvlQry
Query 3: Upgrade 2T0 5lvlQry
Query 4: Upgrade 2T0 7lvlQry
Table : UpgradeMain
All of the queries have a column labeled "Core Tasks". Below is an example of the code that doesn't work. Does anyone have any ideas on the best way to write the code?
UPDATE (UpgradeMain INNER JOIN [Upgrade 2T2 5lvlQry] ON UpgradeMain.SSN=[Upgrade 2T2 5lvlQry].SSN)
INNER JOIN [Upgrade 2T2 7lvlQry] ON UpgradeMain.SSN=[Upgrade 2T2 7lvlQry].SSN SET
[Upgrade 2T2 5lvlQry].[Core Tasks] = UpgradeMain.[Core Tasks],
[Upgrade 2T2 7lvlQry].[Core Tasks] = UpgradeMain.[Core Tasks],
[Upgrade 2T0 5lvlQry].[Core Tasks] = UpgradeMain.[Core Tasks],
[Upgrade 2T0 7lvlQry].[Core Tasks] = UpgradeMain.[Core Tasks];