I am working on some report query's, i have 2 fields that i need to make one if 1 one of them is not null.
Field 1 is: Date Sent
Field 2 is: Date Unpended
In my query i have this expression
Use Date: IIf(IsNull([Date Unpended]),[Date Sent],[Date Unpended])
So what i mean by all this is the 3rd field:
[Use Date] = [Date Sent] if [Date Unpended] is Null or = [Date Unpended] if [Date Unpended] is not null
i have tried a few variations but what i am trying to get is this:
If [Date Unpended] is null then use [Date Sent]
If [Date Unpended] is not null then use [Date Unpended]
This is just a step for another expression i am doing but i need to know what date to use before i can do the other one.
Thanks for any suggestions
Field 1 is: Date Sent
Field 2 is: Date Unpended
In my query i have this expression
Use Date: IIf(IsNull([Date Unpended]),[Date Sent],[Date Unpended])
So what i mean by all this is the 3rd field:
[Use Date] = [Date Sent] if [Date Unpended] is Null or = [Date Unpended] if [Date Unpended] is not null
i have tried a few variations but what i am trying to get is this:
If [Date Unpended] is null then use [Date Sent]
If [Date Unpended] is not null then use [Date Unpended]
This is just a step for another expression i am doing but i need to know what date to use before i can do the other one.
Thanks for any suggestions
Last edited: