Calc months left with no negatives

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm using the following formula in a query to calculate the number of months
left on a lease based on a set end date and todays date:
MonthsLeft: DateDiff("m",Now(),[EndDate])

I dont want it to display negative numbers though for leases that have
finished.
How do i get it to show a "0" for dates that have already past or if the
number is going to show a negative

thanks
Daniel
 

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

Back
Top