I am sorry to have to post this. I have searched and can't seem to find what I need. I have a Referral Due date and a Referral Received date. I want to add 14 days to whichever date is later as the Due date. This is what I have in my query. What am I doing wrong?
DueDate: IIf([RefEffDate]>[RefReceiptDate],Format([RefEffDate]+14),Format([RefReceiptDate]+14))
I have two records that I'm testing. One has 09/27/2007 for RefEffDate and 09/29/2007 for the RefReceiptDate. The other has the reverse. Both records show 10/13/2007 as the DueDate. It puts the true value in even if it is false.
Thank you for your help.
DueDate: IIf([RefEffDate]>[RefReceiptDate],Format([RefEffDate]+14),Format([RefReceiptDate]+14))
I have two records that I'm testing. One has 09/27/2007 for RefEffDate and 09/29/2007 for the RefReceiptDate. The other has the reverse. Both records show 10/13/2007 as the DueDate. It puts the true value in even if it is false.
Thank you for your help.