How do I calculate a past date with today's date in a query

G

Guest

Working in a query, I need to substract a past date with today's date and get
the number of days that an order is outstanding. I don't want it to prompt
me with the box "Enter perameter value". Can someone help me with this
formula.
 
F

fredg

Working in a query, I need to substract a past date with today's date and get
the number of days that an order is outstanding. I don't want it to prompt
me with the box "Enter perameter value". Can someone help me with this
formula.

DaysOutstanding:DateDiff("d",[YourDateField],Date())
 

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