SteveL13
asked on
Help with query criteria and isnull
What is wrong with:
Qty On Hand: IIf(IsNull([SumOfQTY_ORDER ED]),0,[[S umOfQTY_OR DERED])
Qty On Hand: IIf(IsNull([SumOfQTY_ORDER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't think you need ANY of the hard brackets, as you are not using a field with a space or other "illegal" character. It might clear it all up.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No points please.
As indicated, removing all of the [ and ] brackets should solve your problem, but I agree with Phillip, I would recommend using the NZ function
Qty On Hand: NZ([SumOfQTY_ORDERED],0)
As indicated, removing all of the [ and ] brackets should solve your problem, but I agree with Phillip, I would recommend using the NZ function
Qty On Hand: NZ([SumOfQTY_ORDERED],0)
But don't give me points for this answer please - Rey was here before me.