One question on designing a calculated control in an Access report

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

Here is what I want to do: In a group footer in a report, I want to
include a calculated control that will display the number of days
between the date of the first record in that group, and the date of the
last record in that group.

Simplest way to do this would be appreciated. Thanks in advance for any
assistance.

Dave
 
Here is what I want to do: In a group footer in a report, I want to
include a calculated control that will display the number of days
between the date of the first record in that group, and the date of the
last record in that group.

Try:

DateDiff("d", Min([datefield]), Max([datefield]))
 
John,

Thanks!! That did the trick! I really appreciate it.
Dave

John said:
Here is what I want to do: In a group footer in a report, I want to
include a calculated control that will display the number of days
between the date of the first record in that group, and the date of the
last record in that group.


Try:

DateDiff("d", Min([datefield]), Max([datefield]))
 

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