S
Sherry
Ok, I asked this question before and got a response, but
it didn't work for me. Here is what I'm trying to do:
I have a form and a subform based on two separate
tables. Each record on the subform has multiple
subjects, such as Math, Reading, Science, Etc. Each
record is a student. Each student receives a particular
number of points per subject. I have each subject and
its value set up with checkboxes. In other words, if
Jane Doe completed Math, Math gets a check mark and is
worth 100 points. If she completes Science, the Science
field gets a check mark and is worth 200 points. At the
end of the row of the record, I have a Total field which
calculates the total number of points a student earned.
Now, each record is a per week thing. In other words,
Jane Doe gets check marks and a total) for every subject
she completes in Week 1. Then, as a separate record, she
gets check marks (and a total) for every subject she
completes. This is all set up on the subform and works
great.
The formula I used to get that total was basically like
this:
=IIF(Math=True, 100,0) + IIF(Science=True, 200,0) + IIF
(Geography=True, 250,0)
And so on....
So, if the box is checked, then Math=True and is given
100 points, but if not, it =False and is given none.
Simple enough and this formula counts all checks and
their values and totals. I'm fine there.
Where I'm having the problem is this:
My first table is just of the student's names & IDs, so
my form simply shows the student's first and last name,
then the subform shows each week (with each week as a
separate record) of their points. I am now trying to get
a cummulative total onto the form itself for all the
weekly totals in the subform.
Help!!!! LOL!
Any suggestions will be greatly appreciated!!!!
Sherry
Rome, Georgia
it didn't work for me. Here is what I'm trying to do:
I have a form and a subform based on two separate
tables. Each record on the subform has multiple
subjects, such as Math, Reading, Science, Etc. Each
record is a student. Each student receives a particular
number of points per subject. I have each subject and
its value set up with checkboxes. In other words, if
Jane Doe completed Math, Math gets a check mark and is
worth 100 points. If she completes Science, the Science
field gets a check mark and is worth 200 points. At the
end of the row of the record, I have a Total field which
calculates the total number of points a student earned.
Now, each record is a per week thing. In other words,
Jane Doe gets check marks and a total) for every subject
she completes in Week 1. Then, as a separate record, she
gets check marks (and a total) for every subject she
completes. This is all set up on the subform and works
great.
The formula I used to get that total was basically like
this:
=IIF(Math=True, 100,0) + IIF(Science=True, 200,0) + IIF
(Geography=True, 250,0)
And so on....
So, if the box is checked, then Math=True and is given
100 points, but if not, it =False and is given none.
Simple enough and this formula counts all checks and
their values and totals. I'm fine there.
Where I'm having the problem is this:
My first table is just of the student's names & IDs, so
my form simply shows the student's first and last name,
then the subform shows each week (with each week as a
separate record) of their points. I am now trying to get
a cummulative total onto the form itself for all the
weekly totals in the subform.
Help!!!! LOL!
Any suggestions will be greatly appreciated!!!!
Sherry
Rome, Georgia