I am having trouble with how to handle a null value. In the records their are 2 contact fields. Normally the 2nd one is used. There are cases when there is no second entry. In this case I want to use the first contact. I thought it could be done with an IIf statement, but cannot figure out how to designate the null.
I have tried = null and = " " neither is right. Any help is appreciated.
Thanks
Alan
Senility at its finest
Code:
IIf (QAMAIN.NAME [RED]isnull[/red],QAMAIN.T01NAMC, QAMAIN.NAME) AS NAME
Thanks
Alan
Senility at its finest