Or Statement

kitty77

Registered User.
Local time
Yesterday, 22:31
Joined
May 27, 2019
Messages
717
I'm using the following.

Report ID: IIf([Msamplenumber1] Like "*H*" Or [Msamplenumber2] Like "*H*","In Progress",[Mreportid])

How can I add if Mreportid is null, then "Empty" to the above statement?

Thanks
 
Nz([Mreportid], "Empty")

Report ID: IIf([Msamplenumber1] Like "*H*" Or [Msamplenumber2] Like "*H*","In Progress", Nz([Mreportid], "Empty"))
 
How would the code look with that added?
 
I already edited answer, most likely while you were reading it. Review again.
 
Would about this part of the code?

1645991706161.png
 
I don't understand last post. Is issue resolved or not?
 
It just didn't seem correct but yes, it's just what I'm looking for. Thank You!
 

Users who are viewing this thread

Back
Top Bottom