L
lynn atkinson
I have a calculated date on a query which I want to use as a parameter. I
have looked at previous posts and have found that access is not good at
recognising date formats in calculated fields and is you use cvdate with the
formula it will recognise date format.
However, I am not sure how to use this function with the IIf statement used
to do the calculation in my query. Or is there another way?
Can anyone help
The calculation is as follows:
expected completion: IIf([award]="CARE 2",DateAdd("m",12,[start
date]),IIf([award]="care 3" Or [award]="management 3",DateAdd("m",18,[start
date]),IIf([award]="care 4" Or [award]="management 4",DateAdd("m",24,[start
date]),"")))
regards
have looked at previous posts and have found that access is not good at
recognising date formats in calculated fields and is you use cvdate with the
formula it will recognise date format.
However, I am not sure how to use this function with the IIf statement used
to do the calculation in my query. Or is there another way?
Can anyone help
The calculation is as follows:
expected completion: IIf([award]="CARE 2",DateAdd("m",12,[start
date]),IIf([award]="care 3" Or [award]="management 3",DateAdd("m",18,[start
date]),IIf([award]="care 4" Or [award]="management 4",DateAdd("m",24,[start
date]),"")))
regards