Good afternoon all,
I've got a query that returns "POD Target Date". This date is based on "Actual End Date" + a number of days. The result is formatted as short date.
Based on "POD Date", stored as short date format, I want to print a text.
The whole thing works, except for one issue that I cannot seem to solve.
If the "POD Target Date" is filled but the "POD Date" is blank, I've got two options:
- POD Pending
- POD Pending - Late
What I'm doing in an expression is:
Now I've got two examples:
POD Target Date: 15-1-2015
POD Date: empty
Result: POD Pending - Late
POD Target Date: 8-1-2015
POD Date: empty
Result: POD Pending
Though logically, both should return POD Pending - Late as today is 19-11-2015.
Can someone help me out on this? Thanks.
I've got a query that returns "POD Target Date". This date is based on "Actual End Date" + a number of days. The result is formatted as short date.
Based on "POD Date", stored as short date format, I want to print a text.
The whole thing works, except for one issue that I cannot seem to solve.
If the "POD Target Date" is filled but the "POD Date" is blank, I've got two options:
- POD Pending
- POD Pending - Late
What I'm doing in an expression is:
Code:
IIf([QRY_Gross_Performance_2]![POD Target Date]<Date() And [QRY_Gross_Performance_2]![POD Date] Is Null;"POD Pending - Late";
IIf([QRY_Gross_Performance_2]![POD Target Date]=>Date() And [QRY_Gross_Performance_2]![POD Date] Is Null;"POD Pending"
))
Now I've got two examples:
POD Target Date: 15-1-2015
POD Date: empty
Result: POD Pending - Late
POD Target Date: 8-1-2015
POD Date: empty
Result: POD Pending
Though logically, both should return POD Pending - Late as today is 19-11-2015.
Can someone help me out on this? Thanks.
Last edited: