This is basically an inline IF statement. What it does is take a IF statement, evaluates it and if true runs the first result clause or if false runs the second: IIF(comparison statement, true result, false result) IIF(Name IS 'Michael', 1, 0) If a variable called name has a value of michael, the function returns a value of 1. Otherwise it returns a value of 0.
Here's an old article of mine on it: http://www.fusionauthority.com/iif.cfm > Can someone please explain this function to me in the simplest of terms? > > Thanks > Tgirl > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1190 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
