prasadavasare
New Member
- Joined
- Apr 28, 2011
- Messages
- 45
I have a table with three fields: two Date fields [StartDate](without null values/No Blanks) and [CONVDate](with some null values/Blanks) text[Frequency] (e.g "Annual", "Quarterly", "Monthly" without null values/no blanks).
I want to create a query with an additional date field which will calculate as follows:
[CalculatedDate]: IIf([CONVDate] Is Null, IIf([Frequency]="Annual",[StartDate]+365, IIf([Frequency]="Quarterly",[StartDate]+90,IIf([Frequency]="Monthly",[StartDate]+30))),[CONVDate])
The problem is I am getting row results for only items where [CONVDate] is not null.....pls help
I want to create a query with an additional date field which will calculate as follows:
[CalculatedDate]: IIf([CONVDate] Is Null, IIf([Frequency]="Annual",[StartDate]+365, IIf([Frequency]="Quarterly",[StartDate]+90,IIf([Frequency]="Monthly",[StartDate]+30))),[CONVDate])
The problem is I am getting row results for only items where [CONVDate] is not null.....pls help