akh7025
asked on
You tried to execute a query that doesn't include the specified expression as part of an aggregate function
Heres the query
Price Each USD: IIf(Left([mc476mth]![plant ],2)="BR", ([mm60]![p rice]/[For ms].[main] ![brl to usd]),IIf(Left([mc476mth]! [plant],2) ="CA",([mm 60]![price ]/[Forms]. [main]![ca d to usd]),IIf(IsNull([mc476mth ]![plant]) ,"N/A")))
What's wrong w/ this? Even if I change it to a "GROUP BY" it still gives me the same error.
Price Each USD: IIf(Left([mc476mth]![plant
What's wrong w/ this? Even if I change it to a "GROUP BY" it still gives me the same error.
Can you post the whole SQL Statement?
Thanks,
Mike
Thanks,
Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
[Price Each USD]: IIf(Left([mc476mth]![plant
The [ and ] is needed for the spaces, better never to use spaces in fieldnames...
Nic;o)