D
deaconj999
Hi All,
I have been trying to get this to work in a form to add 1 3 or 5 years
for the choice in the drop down [risk factor] to an entered date field
[date of last FSMP] and display it automatically.
=IIf([Risk Factor]="High - Annual",DateAdd("yyyy",1,[Date of Last
FSMP]), IIf([Risk Factor]="Med - 3 Yearly",DateAdd("yyyy",3,[Date of
Last
FSMP]), IIf([Risk Factor]="Low - 5 Yearly",DateAdd("yyyy",5,[Date of
Last FSMP]))))))
I am self taught and am using
=IIf([Risk factor]="HIGH - annual",[Date of Last FSMP]+365,IIf([Risk
factor]="MED - 3 yearly",[Date of Last FSMP]+1095,IIf([Risk
factor]="LOW - 5 yearly",[Date of Last FSMP]+1825,IIf([Risk factor]="N/
A",Date()))))
but would like to tuse the one above but I keep getting invalid syntax
error
PLEASE HELP
I have been trying to get this to work in a form to add 1 3 or 5 years
for the choice in the drop down [risk factor] to an entered date field
[date of last FSMP] and display it automatically.
=IIf([Risk Factor]="High - Annual",DateAdd("yyyy",1,[Date of Last
FSMP]), IIf([Risk Factor]="Med - 3 Yearly",DateAdd("yyyy",3,[Date of
Last
FSMP]), IIf([Risk Factor]="Low - 5 Yearly",DateAdd("yyyy",5,[Date of
Last FSMP]))))))
I am self taught and am using
=IIf([Risk factor]="HIGH - annual",[Date of Last FSMP]+365,IIf([Risk
factor]="MED - 3 yearly",[Date of Last FSMP]+1095,IIf([Risk
factor]="LOW - 5 yearly",[Date of Last FSMP]+1825,IIf([Risk factor]="N/
A",Date()))))
but would like to tuse the one above but I keep getting invalid syntax
error
PLEASE HELP