G
Guest
Hi,
I am trying to fill up one field with sum of iif expressions taken from few
fields in a form. Some of the field values may have null. Hence, I would like
to use iif function to use the value zero when any field has null value.
However, the expression comes witht the error "The expression you entered
does not have a valid syntax"
The CODE is:
=iif(([age00_04],[age00_04], 0) +iif([age05_09], [age05_09], 0) +
iif([age10_12], [age10_12], 0) + iif([age13_15], [age13_15], 0) +
iif([age16_18], [age16_18], 0) + iif([age19_99], [age19_99], 0))
Any help is appreciated. Thanks
I am trying to fill up one field with sum of iif expressions taken from few
fields in a form. Some of the field values may have null. Hence, I would like
to use iif function to use the value zero when any field has null value.
However, the expression comes witht the error "The expression you entered
does not have a valid syntax"
The CODE is:
=iif(([age00_04],[age00_04], 0) +iif([age05_09], [age05_09], 0) +
iif([age10_12], [age10_12], 0) + iif([age13_15], [age13_15], 0) +
iif([age16_18], [age16_18], 0) + iif([age19_99], [age19_99], 0))
Any help is appreciated. Thanks