C
cuboulderpizzle
Hello.
I have a little experience with Access, but not enough to make some really
cool dynamic stuff. But enough to know what I'm getting myself into.
I am an Administrative Assistant for a Conference coming up and I have a
question about summing Text Boxes that are themselves based on an expression.
I have a form that has a Text Box called [Amount Owed]. This Text Box is
dependent on multiple check boxes littered throughout my form. Here is the
code for it:
=IIf([Cancelled] Or [Replaced],"$0.00",IIf([Adult Staff Member] Or [A-Team
Member],IIf([Extended Stay] Or [Staff Training & Extended] Or [Early Staff
Training and Extended],"$105.00","$75.00"),IIf([Youth Staff
Member],IIf([Extended Stay] Or [Staff Training & Extended] Or [Early Staff
Training and Extended],"$160.00","$130.00"),IIf([Conference Staff Member] Or
[Adult Leader Free Tuition],"$0.00",IIf([Alternate Tuition]>0,[Alternate
Tuition],IIf([Early],IIf([Commuter],"$270.00",IIf(Parent!Charter,IIf([Extended
Stay],"$328.50","$301.50"),IIf([Extended
Stay],"$365.00","$335.00"))),IIf([Regular],IIf([Commuter],"$285.00",IIf(Parent!Charter,IIf([Extended
Stay],"$337.50","$310.50"),IIf([Extended
Stay],"$375.00","$345.00"))),IIf([Late],IIf([Commuter],"$320.00",IIf([Extended Stay],"$415.00","$385.00")),"Need Info"))))))))
Basically what it does is calculate how much money they owe based on the
check boxes I click.
Anyway: My problem is this. I'm trying to do a running total of these
amounts to find the total amount of money that we're bringing in. I have
tried to do a running total in a form and a report. Every time it comes up
$0.00. And I know that I have the correct values in there, but there is
something else that is troubling me. The values aren't passed to the table
that this form is based off of.
My question then is how do I do a running sum of all of my participant's
amounts that they owe and not have it come up $0.00? If I override the
amounts in the table and put in the actual amount that they owe as opposed to
using the form, then the amounts are summed up. But I have so many
participants that I want the form to do it for me.
HELP! Thanks in Advance!
~cuboulderpizzle
I have a little experience with Access, but not enough to make some really
cool dynamic stuff. But enough to know what I'm getting myself into.
I am an Administrative Assistant for a Conference coming up and I have a
question about summing Text Boxes that are themselves based on an expression.
I have a form that has a Text Box called [Amount Owed]. This Text Box is
dependent on multiple check boxes littered throughout my form. Here is the
code for it:
=IIf([Cancelled] Or [Replaced],"$0.00",IIf([Adult Staff Member] Or [A-Team
Member],IIf([Extended Stay] Or [Staff Training & Extended] Or [Early Staff
Training and Extended],"$105.00","$75.00"),IIf([Youth Staff
Member],IIf([Extended Stay] Or [Staff Training & Extended] Or [Early Staff
Training and Extended],"$160.00","$130.00"),IIf([Conference Staff Member] Or
[Adult Leader Free Tuition],"$0.00",IIf([Alternate Tuition]>0,[Alternate
Tuition],IIf([Early],IIf([Commuter],"$270.00",IIf(Parent!Charter,IIf([Extended
Stay],"$328.50","$301.50"),IIf([Extended
Stay],"$365.00","$335.00"))),IIf([Regular],IIf([Commuter],"$285.00",IIf(Parent!Charter,IIf([Extended
Stay],"$337.50","$310.50"),IIf([Extended
Stay],"$375.00","$345.00"))),IIf([Late],IIf([Commuter],"$320.00",IIf([Extended Stay],"$415.00","$385.00")),"Need Info"))))))))
Basically what it does is calculate how much money they owe based on the
check boxes I click.
Anyway: My problem is this. I'm trying to do a running total of these
amounts to find the total amount of money that we're bringing in. I have
tried to do a running total in a form and a report. Every time it comes up
$0.00. And I know that I have the correct values in there, but there is
something else that is troubling me. The values aren't passed to the table
that this form is based off of.
My question then is how do I do a running sum of all of my participant's
amounts that they owe and not have it come up $0.00? If I override the
amounts in the table and put in the actual amount that they owe as opposed to
using the form, then the amounts are summed up. But I have so many
participants that I want the form to do it for me.
HELP! Thanks in Advance!
~cuboulderpizzle