P
Philly
Hi,
I'm trying to write a query that recodes the data that we have; however,
some of the fields are left blank (in the table) for a reason, and I'd like
them to remain blank in the query. I can't seem to get access to ignore the
null fields.
Right now the IIf statement reads:
12a:
IIf([P1T112a]="no",0,IIf([P1T112a]="yes",1,IIf([P1T112a]=Null,Null,-999)))
but this isn't working. Is there another way to write it so that the null
fields are left blank?
Thanks!
I'm trying to write a query that recodes the data that we have; however,
some of the fields are left blank (in the table) for a reason, and I'd like
them to remain blank in the query. I can't seem to get access to ignore the
null fields.
Right now the IIf statement reads:
12a:
IIf([P1T112a]="no",0,IIf([P1T112a]="yes",1,IIf([P1T112a]=Null,Null,-999)))
but this isn't working. Is there another way to write it so that the null
fields are left blank?
Thanks!