Mar 28, 2006 #1 3Mark3 Technical User Nov 30, 2005 48 US I have an iif statement that I'm not doing right. Can someone correct this? Thank you! F5: IIf([Welc_AK20060328]![Field5]="000" Or "TX75087000","good","Not good") right now it just returns all "good"...even though there are all kinds of different data.
I have an iif statement that I'm not doing right. Can someone correct this? Thank you! F5: IIf([Welc_AK20060328]![Field5]="000" Or "TX75087000","good","Not good") right now it just returns all "good"...even though there are all kinds of different data.
Mar 28, 2006 #2 ddiamond Programmer Apr 22, 2005 918 US What are you comparing "TX75087000" to? IIf([Welc_AK20060328]![Field5]="000" Or [Welc_AK20060328]![Field?]="TX75087000","good","Not good") Upvote 0 Downvote
What are you comparing "TX75087000" to? IIf([Welc_AK20060328]![Field5]="000" Or [Welc_AK20060328]![Field?]="TX75087000","good","Not good")
Mar 28, 2006 #3 GhostWolf Programmer Jun 27, 2003 290 US Or you could try something like: Code: IIf([Welc_AK20060328]![Field5] in ("000","TX75087000"),"good","Not good") if you're looking for various values in a single field. Upvote 0 Downvote
Or you could try something like: Code: IIf([Welc_AK20060328]![Field5] in ("000","TX75087000"),"good","Not good") if you're looking for various values in a single field.
Mar 28, 2006 Thread starter #4 3Mark3 Technical User Nov 30, 2005 48 US Ahh...excellent, thank you for the quick response! Upvote 0 Downvote