Can the IIf Function be used in referencing then more than 1-fld? What do I mean? In my MLB dbs I have the following flds:
- HmRd: Either "H" for Home games or "R" for Road Games.
- Team
- Score
- AResults: "W" = win, "L" = Lost
- W: IIf([AResults]="W",1,0) - that works
- L: IIf([AResults]="L",1,0) - that works
- HW: IIf([AResults]="W" & [HmRd]="H",1,0) that DOESN'T work
- RW: IIf([AResults]="W" & [HmRd]="R",1,0) that DOESN'T work
Does anyone follow my question. Is the IIf Function exculsively just involves 1-fld in it's statement or can multiply flds be in an IIf statement?
Thanks