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 / Forms Programming / May 2005

Tip: Looking for answers? Try searching our database.

YTD in Report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don - 24 Apr 2005 02:09 GMT
I have a report that is for shipping Laundry daily. What is reported in the
report is the quantity of each laundry product and the product name that is
both shipped and received. What I would like to do is include, at the end of
each Product record, the year to date total of that product including the
laundry that the customer is receiving. This total would be what the customer
has in his possion, giving him a year to date sum of product he has for a
daily inventory count.

The report uses a query [ProductRental] that extracts the products shipped
and received to/from the customer based on the dateTransactionDate. I think I
somehow need to use the numbers from a query [ProductRentalTotals] that
groups the products by customer and also has an expression that gives the
total that I am looking for in the report [ProductRentalTotals].[In House
Inv]. My problem is how do I either run both of these queries in the same
report linking them by productID to report in a unbound field or some other
way to provide this expression?

Thanks,

Dennis
jl5000 - 01 May 2005 23:47 GMT
You could also use the DSum Function, like

Dsum("[quantity]","TransactionTable","year([DateField])=" & year(date()) & "")

> I have a report that is for shipping Laundry daily. What is reported in the
> report is the quantity of each laundry product and the product name that is
[quoted text clipped - 16 lines]
>
> Dennis
 
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.