ajaeclarke
asked on
Expression has the wrong amount of arguments
Hi
I am having some trouble with the below expression in a query. I am trying to get the average of three fields which allows for zero's.
ACWLW: ([RELTTMALW]+[AOLTTMALW]+[ WTMALW])/I If((-([REL TTMALW]<>0 )-([AOLTTM ALW]<>0)-( [WTMALW]<> 0))
It is telling me that The Expression you entered has a function containing the wrong number of arguments.
It has been a long day and I just cannot see it!! Could somebody please enlighten me :-)
Thanking you
I am having some trouble with the below expression in a query. I am trying to get the average of three fields which allows for zero's.
ACWLW: ([RELTTMALW]+[AOLTTMALW]+[
It is telling me that The Expression you entered has a function containing the wrong number of arguments.
It has been a long day and I just cannot see it!! Could somebody please enlighten me :-)
Thanking you
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
You are a legend Gustav! Thank you so much. :)
You are welcome!
If you explain what should be happening, we can try to further help.
Also, ypically I would use Nz([FiledName], 0) to always ensure there is a numeric value being returned just in case a field is empty, Null which could cause errors to be thrown.