Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / December 2005

Tip: Looking for answers? Try searching our database.

How to total my DateDiff Field in a report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marcy@airproducts - 02 Dec 2005 18:34 GMT
In my report I need to total my DateDiff field (=DateDiff("d",[Date
Rejected],[Date Completed]) in the header.  It is a number of days, but when
I try =Sum([DateDiff("d",[Date Rejected],[Date Completed])]) the expression
is too complicated.  How can I get my report to total all the days?
Marshall Barton - 02 Dec 2005 21:18 GMT
"Marcy@airproducts"

>In my report I need to total my DateDiff field (=DateDiff("d",[Date
>Rejected],[Date Completed]) in the header.  It is a number of days, but when
>I try =Sum([DateDiff("d",[Date Rejected],[Date Completed])]) the expression
>is too complicated.  How can I get my report to total all the days?

There is an extra ] in that expression.

Also make sure that [Date Rejected] and [Date Completed] are
**fields** in the report's record source table/query and not
controls on the report.

Signature

Marsh
MVP [MS Access]

Marcy@airproducts - 02 Dec 2005 21:26 GMT
Thank you, right after sending this message I caught the error!

> "Marcy@airproducts"
>
[quoted text clipped - 8 lines]
> **fields** in the report's record source table/query and not
> controls on the report.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.