Date Calculation

  • Thread starter TracyM via AccessMonster.com
  • Start date
T

TracyM via AccessMonster.com

Hi

I have an unbound box on my form which shows how many days are left between
the dates, 'Project Arrived' and 'Project Required' this works great.

What I want to know is whether I could get this box to stop counting when a
third date, 'project complete' is filled in?

Any advice would be greatly appreciated

Thanks in advance
 
M

missinglinq via AccessMonster.com

In order to help we need to see the code and the code's location that you're
using to do this calculation.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
 
T

TracyM via AccessMonster.com

missinglinq said:
In order to help we need to see the code and the code's location that you're
using to do this calculation.

This is the code, it is allocated on my project form in the control source of
an 'unbound' field'

=DateDiff("d",Date(),[Date Required])

Thanks
 
T

TracyM via AccessMonster.com

TracyM said:
In order to help we need to see the code and the code's location that you're
using to do this calculation.

This is the code, it is allocated on my project form in the control source of
an 'unbound' field'

=DateDiff("d",Date(),[Date Required])

Thanks

Apologies just noticed, it calcuates how many days left from current date to
when date required, this is ok, its the other bit I want to know about
 
G

Guest

I use the IIF function to say if the [ProjectComplete]=* then show "0"
otherwise show [ProjectRequired]-[ProjectArrived]+1.
 

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

Top