473,883 Members | 1,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Viewing Total in Report

I'm pretty much a beginner with Access but do have some experience but
I'm stuck on this problem. Any suggestions would be appreciated. I
have a very simple database that tracks the number of students
enrolled in our school. I have designed a report that lists the
families and the number of students per family. I would like to have
the total number of students enrolled show up on the report. I can run
a query that will total the number for me, but how can I get this to
show up on my report?
Thanks.
Nov 12 '05 #1
2 1262
Michael Keene wrote:
I'm pretty much a beginner with Access but do have some experience but
I'm stuck on this problem. Any suggestions would be appreciated. I
have a very simple database that tracks the number of students
enrolled in our school. I have designed a report that lists the
families and the number of students per family. I would like to have
the total number of students enrolled show up on the report. I can run
a query that will total the number for me, but how can I get this to
show up on my report?
Thanks.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Depends on the name of the column in the report's RecordSource that
holds the number of students per family. Let's name it "StudentCou nt."

In the report's footer place a TextBox wherever you want the student
total to appear. Put something like this in it's ControlSource property
(under the Properties dialog box Data tab):

=Sum(StudentCou nt)

This should produce the total student count for the report.

--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQIRBnYechKq OuFEgEQJu+wCgrc dGXLZ8UqAElOnoi FYrcMIkqeAAn1oz
MMTlrpCFw2OI17Q HwjrIDnpI
=gH7W
-----END PGP SIGNATURE-----

Nov 12 '05 #2
Thanks that did it.
MGFoster <me@privacy.com > wrote in message news:<uk******* *********@newsr ead2.news.pas.e arthlink.net>.. .
Michael Keene wrote:
I'm pretty much a beginner with Access but do have some experience but
I'm stuck on this problem. Any suggestions would be appreciated. I
have a very simple database that tracks the number of students
enrolled in our school. I have designed a report that lists the
families and the number of students per family. I would like to have
the total number of students enrolled show up on the report. I can run
a query that will total the number for me, but how can I get this to
show up on my report?
Thanks.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Depends on the name of the column in the report's RecordSource that
holds the number of students per family. Let's name it "StudentCou nt."

In the report's footer place a TextBox wherever you want the student
total to appear. Put something like this in it's ControlSource property
(under the Properties dialog box Data tab):

=Sum(StudentCou nt)

This should produce the total student count for the report.

--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQIRBnYechKq OuFEgEQJu+wCgrc dGXLZ8UqAElOnoi FYrcMIkqeAAn1oz
MMTlrpCFw2OI17Q HwjrIDnpI
=gH7W
-----END PGP SIGNATURE-----

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2023
by: Rajani | last post by:
Hello, I have a table(msaccess) with the structure... job_code text 6 style text 10 qty number fabrication text 65 ship_date date/time
4
10367
by: Bill Dika | last post by:
Hi I am trying to calculate a running total of a calculated textbox (tbAtStandard) in GroupFooter1 for placement in a textbox (tbTotalAtStandard) on my report in Groupfooter0. The problem that I am having is that sometimes the correct total shows up in print preview and sometimes it doesn't. Sometimes it is higher and sometimes it is lower (than the correct amount) and I cannot make any sense of the difference. The difference...
2
1426
by: Michael Keene | last post by:
I'm pretty much a beginner with Access but do have some experience but I'm stuck on this problem. Any suggestions would be appreciated. I have a very simple database that tracks the number of students enrolled in our school. I have designed a report that lists the families and the number of students per family. I would like to have the total number of students enrolled show up on the report. I can run a query that will total the number for...
1
4916
by: Marie | last post by:
How do you display a total from a subreport on the main report. If it makes a difference, the total is a total of a calculated field (Qty * Price). Does the total on the subreport go in the pagefooter or report footer? Say the total is shown in a texrbox named MyTotal and the subreport control is named MySubreportControl, what exactly do I put in the control source of a textbox on the main report to show the total? Thanks For All Help! ...
10
5316
by: NH | last post by:
I have a girdview with paging enabled. How can I add a message in the footer to say "Viewing records 1-15 of 45" etc Thanks
7
3666
by: Sunil Korah | last post by:
Hi, I haven't used access reports much. I have a problem in getting the total of a group. I have 3 fields, ProgName (Program name), Pname (Participant's name) and PCategory (Participant category) PCategory can have values 'SC', 'ST' and 'Others'
15
6189
klarae99
by: klarae99 | last post by:
I am working on an Inventory Database in Access 2003. I am working on a report that I could print when its time to file our State Sales Tax paperwork. The figures I need for this report are Total Sales(not including tax), the Amount of Sales Subject to Tax, and the Total Sales Including Tax, all gathered for a specific time period. I have a query (qrySalesTax) to find all sales within a specified date range that also calculates the Total...
0
1438
by: Deceneu | last post by:
Hi everyone, this is my first post so please bear with me. I have the following situation: i have a local report that needs to have two "versions": one for viewing in the report viewer (with all elements: lines, borders, "labels", etc..) and another one for printing - it needs only the information from the dataset. I need this because i have a lot of "official" documents (medication prescriptions, sick leave etc...) so the user must see the...
0
4266
by: silverrock7 | last post by:
Hello Friends i m stuck up to a place wherein i want to print a report which is displaying on a reportviewer. I actually want to send the report to printer directly without viewing it. i am using a code for the same which i m posting here. I am getting an error on the line wherein i m rendering the report. the error is " a window handle is not created for the control" My code is :
0
9933
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11129
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10838
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9569
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7967
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5794
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5988
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.