P
PowerPoint Jedi
I have 8 different tables. I would like to sum up that data in one column of
each table and display all 8 sums in one query.
I wrote this to test my expression
SELECT Sum([Accutorr PlusT]!Failures_Y2006*[Accutorr PlusT]![STD COST]) AS
Expr1 FROM [Accutorr PlusT];
This worked and correctly displayed the value
I then expanded that to include another table and wrote this
SELECT Sum([Accutorr PlusT]!Failures_Y2006*[Accutorr PlusT]![STD COST]) AS
Expr1, Sum(AnestarT!Failures_Y2006*AnestarT![STD COST]) AS Expr2
FROM [Accutorr PlusT], AnestarT;
Now it doesn't work.
What am I doing wrong.
Thanks for any input
each table and display all 8 sums in one query.
I wrote this to test my expression
SELECT Sum([Accutorr PlusT]!Failures_Y2006*[Accutorr PlusT]![STD COST]) AS
Expr1 FROM [Accutorr PlusT];
This worked and correctly displayed the value
I then expanded that to include another table and wrote this
SELECT Sum([Accutorr PlusT]!Failures_Y2006*[Accutorr PlusT]![STD COST]) AS
Expr1, Sum(AnestarT!Failures_Y2006*AnestarT![STD COST]) AS Expr2
FROM [Accutorr PlusT], AnestarT;
Now it doesn't work.
What am I doing wrong.
Thanks for any input