D
Dick Minter
Can someone tell me why this query fails? Access indicates a syntax error in
the FROM clause, but I don't see it.
SELECT ae.AEName, A.COB
FROM ae LEFT JOIN (SELECT invcimpt.[ae#], sum(invcimpt.aecom) as COB
FROM invcimpt GROUP BY invcimpt.[ae#]) AS A ON ae.aeno = A.[ae#]
WHERE (((ae.Status)="x" Or (ae.Status)="O"))
GROUP BY ae.AEName;
I know there is a simpler way to do this particular operation, but this
example is just an element in a more complex problem.
Thanks for your help.
DM
the FROM clause, but I don't see it.
SELECT ae.AEName, A.COB
FROM ae LEFT JOIN (SELECT invcimpt.[ae#], sum(invcimpt.aecom) as COB
FROM invcimpt GROUP BY invcimpt.[ae#]) AS A ON ae.aeno = A.[ae#]
WHERE (((ae.Status)="x" Or (ae.Status)="O"))
GROUP BY ae.AEName;
I know there is a simpler way to do this particular operation, but this
example is just an element in a more complex problem.
Thanks for your help.
DM