G
Guest
I have a table that has three fields with a 'loss reason' where any of the
three may be populated or all could be blank:
Company Loss1 Loss2 Loss3
A No interest
B
C In contract
D No vehicle
E In contract No interest
Using an IIf statement I am trying to create a new field to show the loss
reason where there is one. I can do "IIf(IsNull([Loss1]),([Loss2]),([Loss1])"
but how do I write an if statement that says "if Loss1 AND Loss2 are null,
take Loss3" (e.g. company C) or that leaves the new field empty if there is
no Loss reason e.g. company B? And can the statement combine loss reasons
e.g. company E?
Thank you.
three may be populated or all could be blank:
Company Loss1 Loss2 Loss3
A No interest
B
C In contract
D No vehicle
E In contract No interest
Using an IIf statement I am trying to create a new field to show the loss
reason where there is one. I can do "IIf(IsNull([Loss1]),([Loss2]),([Loss1])"
but how do I write an if statement that says "if Loss1 AND Loss2 are null,
take Loss3" (e.g. company C) or that leaves the new field empty if there is
no Loss reason e.g. company B? And can the statement combine loss reasons
e.g. company E?
Thank you.