thanks again to all who helped earlier. The if statment (Expr3: IIf(IsNull([document received]),"No","Yes") worked great!
Now I need a nested if statement. It needs to read if doctype equals result and if document received isnotnull, then yes else no
how would that look?