Hello All, I'll try to be as brief and concise as possible with this question:
I have 2 date fields:
#1 is called "Prod Date" and it will ALWAYS be populated. ex; 1\1\2013.
#2 is called "ETA Date" and may or may not be populated. ex; it may be NULL OR contain a valid date such as 2\1\2013.
What I need to do is this: I have my queries set up to filter out records based on certain criteria (nothing to do with the dates). Now when I go to run the report I need to take a look at the "ETA Date". If it is populated with a date then I don't want to do anything other than put that date on the report. However if the field is NULL I want to take the "Prod Date" field value, add 75 days to it, then put that value on the report under the ETA Date column. I DO NOT want to manipulate the original Prod Date field as I need to display that on the report as well.
How can this be done and where would I put the code or expression? I have tried doing some other things I found here but I can't get it to work at all.
If "eta date" = null then eta date = prod date + 75 days (in simple english :) )
Thanks to any and all who can help me with this problem. I greatly appreciate it.
I have 2 date fields:
#1 is called "Prod Date" and it will ALWAYS be populated. ex; 1\1\2013.
#2 is called "ETA Date" and may or may not be populated. ex; it may be NULL OR contain a valid date such as 2\1\2013.
What I need to do is this: I have my queries set up to filter out records based on certain criteria (nothing to do with the dates). Now when I go to run the report I need to take a look at the "ETA Date". If it is populated with a date then I don't want to do anything other than put that date on the report. However if the field is NULL I want to take the "Prod Date" field value, add 75 days to it, then put that value on the report under the ETA Date column. I DO NOT want to manipulate the original Prod Date field as I need to display that on the report as well.
How can this be done and where would I put the code or expression? I have tried doing some other things I found here but I can't get it to work at all.
If "eta date" = null then eta date = prod date + 75 days (in simple english :) )
Thanks to any and all who can help me with this problem. I greatly appreciate it.
Comment