G
glalmon
If you are creating a query, just type the IIF statement
in the query grid. If you are adding this expression
to another number in the query, it would look
like this in the query grid
Expr1: IIf(isNull([ChampOrRes]),0,[ChampOr Res]) + 5
This should not result in a null value
problem that it won't do this if the field is null (which
it is at times). I looked up in a book and was given the
follow IIf statement
Zero should be changed to Null-To-0???
in the query grid. If you are adding this expression
to another number in the query, it would look
like this in the query grid
Expr1: IIf(isNull([ChampOrRes]),0,[ChampOr Res]) + 5
This should not result in a null value
want to add this field to another and I understand the-----Original Message-----
I have a numeric field in a table named "ChampOrRes". I
problem that it won't do this if the field is null (which
it is at times). I looked up in a book and was given the
follow IIf statement
question I have is where to put this expressionIIf(isNull([ChampOrRes]),0,[ChampOr Res])
This seems logical to me but the
expression. I assume that for a numeric field the Null-To-There is also this statement
NZ(Null-to-zero)
Again I don't know where to put this
Zero should be changed to Null-To-0???