[mso] Re: Access Reports getting Totals in Footer :VSMail mx3

  • From: James LaBorde <jlaborde@xxxxxxxxx>
  • To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
  • Date: Wed, 8 Jan 2003 13:03:27 -0800

April,

I have seen a number of people have problems with what you are looking to
do.  The easiest solution I have come across is to do some of teh
calculations in your query.  Basically add a few fields, like CNAHours:
IIF([Service]="CNA", [Hours]), LPNHours: IIF([Service]="LPN",[Hours]) and so
on for each type of Service.  Then sum each in the footer.  Notice that
there is no else in each of these.  That leaves the field null in rows where
there is not a matching type of service.

The other option is to Add Grouping to your report and create group footers
for Service and have your totals appear there.  Then you automatically have
that sub-total when you add new services as well as an overall total.  

I am not sure why you were getting an error on your report.  I can only
suggest verifying the spelling and that you included them as visible fields
in your query.

James



-----Original Message-----
From: April Pace [mailto:4office@xxxxxxxxxxxxx]
Sent: Wednesday, January 08, 2003 8:45 AM
To: Office (E-mail)
Subject: [mso] Access Reports getting Totals in Footer :VSMail mx3


In a report I have: (based on a query)

It is just a table style list of Names of Clients, their ID Number, What
type of Service they need (CNA, LPN, RN) and for how many hours....

In Page Header all my labels
Details  all my field codes including nbrcltID and nbrTueH

Page Footer

two textboxes one with =Count([nbrCltID]) I want a count of how many Clients
are on the list.  And the other textbox with =Sum([nbrTueH]) I want the
total number of hours needed.

When I preview this form  both of my equations show #Error.... What am I do
wrong.....

These equations is just total number of clients and total hours.... which is
fine.... but since I am asking,  Can you tell me

A: How to get this code to work as is. and
B: How to get a break down of those total hours to show how many hours for
each CNA, LPN, and RN

Thanks, April


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx?Subject=unsubscribe

Or, visit the group's homepage and use the dropdown menu.  This will also
allow you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
with instructions.  Once you are a member of the files group, you can go
here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx?Subject=unsubscribe

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts:

  • » [mso] Re: Access Reports getting Totals in Footer :VSMail mx3