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 / October 2005

Tip: Looking for answers? Try searching our database.

Grand totals error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tu - 14 Oct 2005 05:59 GMT
Hi,
I create an Access Report called "Daily Driver Board" listing all the
deliveries to be made by our trucks. The datas are grouped and summarized
first by truck, then vendor, then by ship-to address. I have two separate set
of amounts to be tabulated, first by truck, then in Grand totals: COD and
regular charged amounts. The two amounts are added to a Daily Total by Truck
and Grand Total for all the trucks.
The Daily Total (COD+CHG) for the trucks are correct. But the bottom Grand
Total (COD+CHG) is wrong: somehow it picks up the Daily Total (COD+CHG) of
the truck right above it.
Please help figure out what happens, did I do something wrong?
Thanks.
TTN
Jeff Boyce - 14 Oct 2005 13:28 GMT
You didn't mention the section/band in which your GrandTotal calculation was
done.

I didn't notice your calculation using the Nz() function, to handle any
nulls.

Signature

More info, please ...

Jeff Boyce
<Access MVP>

> Hi,
> I create an Access Report called "Daily Driver Board" listing all the
[quoted text clipped - 9 lines]
> Thanks.
> TTN
Tu - 15 Oct 2005 06:03 GMT
Hi Jeff,
Thank you for your very prompt reply. This morning I did solve the problem
by chance. I believe the problem occured when I was coying the Sum[CODAmt] &
Sum[CHGAmt] back and forth while resizing my form. I erased and re-entered
the Sum expression inside the Control Source and it's working fine now.
Regarding the Nz( ) Function, I will learn and try to use it; I was using
the IIf function instead 8-(
If you allow me, I do have another question: still regarding the Driver
Board. Inside the "Truck #1" Group, there are sub-groups of "Account" then
sub-sub-groups of "Ship-to address".  For example in the "Truck#1" group, I
have 15 stops sorted by Account then by Ship-to-address. If the Shipping
manager wants to change the Delivery route for the truck, is it any simple
way to re-sort within the same truck?
Thanks!!
Tu

> Hi,
> I create an Access Report called "Daily Driver Board" listing all the
[quoted text clipped - 9 lines]
> Thanks.
> TTN
Jeff Boyce - 15 Oct 2005 13:47 GMT
Re: your additional question

Since this is off the original topic, and since it appears you are asking a
"Report"-related question, I'd suggesting posting the new question in the
access.reports newsgroup, where you'd be more likely to catch more eyes.

My first reaction is that I don't understand how a change of order (via a
form) is NOT being reflected in your report.

Regards

Jeff Boyce
<Office/Access MVP>

> Hi Jeff,
> Thank you for your very prompt reply. This morning I did solve the problem
[quoted text clipped - 25 lines]
> > Thanks.
> > TTN
 
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.