N
Nona
I need help again - this time with calculations on a form. Using Access 2000,
I have a continuous form on which a supervisor would assign daily hours to
each of several therapists who work with about 50 patients.
After entering the therapists’ weekly assigned work hours for each patient,
I want the form to total each therapist’s hours for all patients. This works
with a simple arithmetical formula that is repeated for each therapist.
=[ThMQA]+[FrMQA]+[SaMQA]+[SuMQA]+[MoMQA]+[TuMQA]+[WeMQA]
Can I use an expression to get these weekly totals so that I will have a
field to use to get a sum in the footer? I want the form footer to total the
hours for the therapist for all the patients assigned to him/her. The footer
formula I have returns the totals from the first record (patient) but doesn’t
include the other records (patients).
=Sum([ThHrsMQS]+[FrHrsMQS]+[SaHrsMQS]+[SuHrsMQS]+[MoHrsMQS]+[TuHrsMQS]+[WeHrsMQS])
Is there a better way to accomplish this? I want this in a form, but I know
I can't use expressions in the query supporting the form. That's why I'm
struggling with this--the query would work easily if I could put the
calculations there.
Another frustrating thing: I have been through hours and hours and
countless trials trying to get these calculations on this form to work. Now
it gives me an error saying the network connection may have been lost. (I had
copied and pasted a field on the form.) I refreshed the link, but still get
the message. This happened before, and I thought the form must have been
corrupted, so I started completely over, but after working on the form for
some time, that error popped up again. Any ideas?
I will appreciate some expert help!
I have a continuous form on which a supervisor would assign daily hours to
each of several therapists who work with about 50 patients.
After entering the therapists’ weekly assigned work hours for each patient,
I want the form to total each therapist’s hours for all patients. This works
with a simple arithmetical formula that is repeated for each therapist.
=[ThMQA]+[FrMQA]+[SaMQA]+[SuMQA]+[MoMQA]+[TuMQA]+[WeMQA]
Can I use an expression to get these weekly totals so that I will have a
field to use to get a sum in the footer? I want the form footer to total the
hours for the therapist for all the patients assigned to him/her. The footer
formula I have returns the totals from the first record (patient) but doesn’t
include the other records (patients).
=Sum([ThHrsMQS]+[FrHrsMQS]+[SaHrsMQS]+[SuHrsMQS]+[MoHrsMQS]+[TuHrsMQS]+[WeHrsMQS])
Is there a better way to accomplish this? I want this in a form, but I know
I can't use expressions in the query supporting the form. That's why I'm
struggling with this--the query would work easily if I could put the
calculations there.
Another frustrating thing: I have been through hours and hours and
countless trials trying to get these calculations on this form to work. Now
it gives me an error saying the network connection may have been lost. (I had
copied and pasted a field on the form.) I refreshed the link, but still get
the message. This happened before, and I thought the form must have been
corrupted, so I started completely over, but after working on the form for
some time, that error popped up again. Any ideas?
I will appreciate some expert help!