That's because IIf() evaluates both the true expression and the false expression before determining which one to use. Thus it cannot be used in situations like this.
/gustav
Microsoft Access
Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.
=IIF(ISERROR(DLookUp("[Ini