Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

Problem with syntax on calculated field in a query

Can someone spot the syntax error here:

Demand: Sum(Nz([Qty],0))-Nz([qryPartNPrintOrdQtysAM.SumOfQty],0-Nz([qryPartNSalesOrdQtysAM.SumOfQty],0)

--Steve
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

try this


Demand: Sum(Nz([Qty],0)-Nz([qryPartNPrintOrdQtysAM.SumOfQty],0-Nz([qryPartNSalesOrdQtysAM.SumOfQty],0)


remove the last ")" from Sum(Nz([Qty],0))
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial