G
Guest
Access 2002
I have constructed a Select query (using the Wizard) and when it is run the
following message is displayed
You tried to execute a query that does not include the specified expression
"ProgNameID" as part of an aggregate function
The SQl is
SELECT tMstrProgram.*, tMstrProgramName.*, tMstrAgeGrp.*, First([GroupID])
AS Expr1
FROM (tMstrProgram LEFT JOIN tMstrProgramName ON tMstrProgram.ProgNameID =
tMstrProgramName.ProgNameID) LEFT JOIN tMstrAgeGrp ON tMstrProgram.FundingID
= tMstrAgeGrp.FundingID;
ProgNameID is a field in botht MstrProgram and tMstrProgramName
GroupID is a field in tMstrAgeGrp
My SQL is extremely basic.
I have constructed a Select query (using the Wizard) and when it is run the
following message is displayed
You tried to execute a query that does not include the specified expression
"ProgNameID" as part of an aggregate function
The SQl is
SELECT tMstrProgram.*, tMstrProgramName.*, tMstrAgeGrp.*, First([GroupID])
AS Expr1
FROM (tMstrProgram LEFT JOIN tMstrProgramName ON tMstrProgram.ProgNameID =
tMstrProgramName.ProgNameID) LEFT JOIN tMstrAgeGrp ON tMstrProgram.FundingID
= tMstrAgeGrp.FundingID;
ProgNameID is a field in botht MstrProgram and tMstrProgramName
GroupID is a field in tMstrAgeGrp
My SQL is extremely basic.