L
lars
I thought that this would be a very simple setup when I started, but I am
having problems.
Using Access 2000 in Windows 2000.
I have a number of Agencies who provide child care. I have a table that
holds Agency information, using a autonumber for each Agency as a unique
identifier. Each Agency may take care of any number of ages of children.
At each age group the same information is needed, therefore, I created a
separate table for each age group. Each table has an Agency ID which is
linked to the Agency info table.
Agency
ID (autonumber)
Street Address
City
State
Telephone
Infant
Agency ID
Number enrolled
Number per Adult
Number per Teacher
Toddler
Agency ID
Number enrolled
Number per Adult
Number per Teacher
PreSchool
Agency ID
Number enrolled
Number per Adult
Number per Teacher
Now, when all the Agencies have registered the number of children by age
group, I want to be able to go in and get a sum of total Number enrolled,
total Number per Adult, total Number per Teacher per Agency. (All Agencies
do not all have all children). The age group tables are joined to the
Agency table by ID and Agency ID.
I created a query that lets me see each Agency and each specific
field.(i.e.- Number enrolled at each age group). The problem is that I
cannot get it to sum the total number from each field. The freaky part is
that it was working one day and quit working the next (just as I was going
into production). I built an expression (what I thought was a simple
expression) and it will not display a total number. I get absolutely
nothing. I have tried =Sum(
![field]+
![field]),
=Sum((
![field]+
![field])),
DSum((
![field]+
![field])) and still no results. I've done
Groupby with Expression, groupby with Sum, still nothing. I just can't
figure out what went wrong.
Please help.
Leslie
having problems.
Using Access 2000 in Windows 2000.
I have a number of Agencies who provide child care. I have a table that
holds Agency information, using a autonumber for each Agency as a unique
identifier. Each Agency may take care of any number of ages of children.
At each age group the same information is needed, therefore, I created a
separate table for each age group. Each table has an Agency ID which is
linked to the Agency info table.
Agency
ID (autonumber)
Street Address
City
State
Telephone
Infant
Agency ID
Number enrolled
Number per Adult
Number per Teacher
Toddler
Agency ID
Number enrolled
Number per Adult
Number per Teacher
PreSchool
Agency ID
Number enrolled
Number per Adult
Number per Teacher
Now, when all the Agencies have registered the number of children by age
group, I want to be able to go in and get a sum of total Number enrolled,
total Number per Adult, total Number per Teacher per Agency. (All Agencies
do not all have all children). The age group tables are joined to the
Agency table by ID and Agency ID.
I created a query that lets me see each Agency and each specific
field.(i.e.- Number enrolled at each age group). The problem is that I
cannot get it to sum the total number from each field. The freaky part is
that it was working one day and quit working the next (just as I was going
into production). I built an expression (what I thought was a simple
expression) and it will not display a total number. I get absolutely
nothing. I have tried =Sum(
=Sum((
DSum((
Groupby with Expression, groupby with Sum, still nothing. I just can't
figure out what went wrong.
Please help.
Leslie