Days Differencent calculation

  • Thread starter Thread starter Faio
  • Start date Start date
F

Faio

Can anyone help me on this.

I have a field called ARRIVALDATE that stores the Vessel arrival date. I
wish to create a Query that after the arrival date of 35days, It will
display the word "Storage Charge Due" else "No STorage charge".

If it can also send an email notification when the 35days due, please
specify how to do it.

Appreciate any help.
 
Add this into your query grid. Change the table name to your actual
table.

Expr1: IIf(DateDiff("d",Now(),[tblDates].[ARRIVALDATE])>35,"Storage
Charge Due","No Storage Charge")

Can't help you with the email.

Rosco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Query Question 1
Query Question 1 1
SQL Mix up? 3
Update SQL 1
Due data control in form 3
Date Difference In Query 2
A tale of two suppliers 5
Code to Calculate Days 1

Back
Top