Code:
'IIF() statenemt syntax
=IIF(cond,TRUE,FALSE)
'add the condition
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,TRUE,FALSE)
'add result if true
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,"Enter F or V if >0",FALSE)
'add result if false - another IIF() stattement
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,"Enter F or V if >0",IIF(cond,TRUE,FALSE))
'add second condition to nested IIF()
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,"Enter F or V if >0",IIF([ExpenseType]="F",TRUE,FALSE))
'add second result if 2nd nested IIF() is true
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,"Enter F or V if >0",IIF([ExpenseType]="F",[ANOI],FALSE))
'add second result if 2nd nested IIF() false - another IIF() stattement
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,"Enter F or V if >0",IIF([ExpenseType]="F",[ANOI],IIF(cond,TRUE,FALSE)))
'add third condition to third nested IIF()
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,"Enter F or V if >0",IIF([ExpenseType]="F",[ANOI],IIF([ExpenseType]="V",TRUE,FALSE)))
'add third result if 3rd nested IIF() is true
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,"Enter F or V if >0",IIF([ExpenseType]="F",[ANOI],IIF([ExpenseType]="V",([ANOI]/[Forms]![f_CL_LoanRecordsForm]![mfEGIANOI])*[Forms]![f_CL_LoanRecordsForm]![mfEGIST],FALSE)))
'third result if 3rd nested IIF() is false
=IIF(IsNull([ExpenseType]) And [ANOI]<>0,"Enter F or V if >0",IIF([ExpenseType]="F",[ANOI],IIF([ExpenseType]="V",([ANOI]/[Forms]![f_CL_LoanRecordsForm]![mfEGIANOI])*[Forms]![f_CL_LoanRecordsForm]![mfEGIST],FALSE)))