Help Calculating a value on a Report

So I have a query that results in the attached.

I want to create a report that included a Unbound Text Box (Due Date) that will Calculate:

Service ID        Due Date
IME                  Due date will be 7 calendar days from the Date of IME (it will be blank if   [/qu   no                    IME date has been entered yet)
RR                  Due date will be 10 calendar days from the Date the RR_Doctor letter is created.
ERR                Due Date will be 7 calendar days from the date the RR_Doctor letter is created.

Any help
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent DyerIT Security Analyst SeniorCommented:
Wait..  You say Calendar Days..  I think you also want work days..  Most folks in the business world only want Monday through Friday.  Correct?

seamus9909Author Commented:
I have attached a sanitized version.

No they want Calendar days
Dale FyeCommented:
Your [ServiceID] field in the spreadsheet does not contain the same values as you indicate above.  Generally, I would not use an unbound textbox in your report, I would create a query as the RecordSource for the report and would create a computed column in the query, something like:

DueDate:Switch([ServiceID] = "IME", IIF(ISNULL([Date of IME]), NULL, DateAdd("d", 7, [Date of IME])), [ServiceID] = "RR", DateAdd("d", 10, [LastOfDateCreated]), [ServiceID] = "ERR", DateAdd("d", 7, [LastOfDateCreated]), True, "Unknown")

This assumes that the "Date the RR_Doctor letter is created" you mentioned in your original post is the [LastOfDateCreated] field in your spreadsheet.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.