I'm trying to build a nested IIF function in MS Access 2010 and I can't seem to get it to work. The formula I've wrriten is as follows:
Status2: IIf([CurrentSuber]=0,IIf([BTD] Is Null And [STD] Is Null,'Registrant',IIf([BTD]=DateValue("1/1/1900") And DateDiff("d",[STD],Now())>14,'Expired_FT’, IIF([BTD]<>DateValue(“1/1/1900"),’Cancelled_Sub’,IIF(DateDiff(“d”,[STD],Now())<15 And [BTD]=DateValue(“1/1/1900”),'Free_Trialer',’NA’))))),'Suber')
This condition is a nested IIF funstion for anything that has a [CurrentSuber]=0 And the following IIF statements. Otherwise IIF[CurrentSuber]=1 (Or [CurrentSuber]<>0) then 'Suber'.Can anyone tell me where the error is?