F
FayeR
I have eight fields in a continuous sub-form. When any of them changes, I
need to recalculate a 9th field (Average Rating). In addition, I want the
Average Rating to be calculated when the form appears.
I currently have the calculation in a module that is called from each of the
On Update events for the 8 fields. I have the Average Ratings field set up
as an unbound field. The module is pretty long.
I have a couple of issues - when one field in a record is updated all of the
Average Ratings change on ALL the records in the subform. When I attach the
Average Ratings field to a field in my table, I get an error message that You
can't Assign a value to this object.
I would prefer to store the calculated amount in my table. This database is
being used to test a web based system in development, so I am not that
concerned about normalizing my data. I need to use the calculated amounts on
another form later.
Is there a way for me to call that module when the subform is first
displayed and then call it again each time a change is made with the result
ending up in my table?
I apologize for the length of this post. I appreciate any help. Thanks!
need to recalculate a 9th field (Average Rating). In addition, I want the
Average Rating to be calculated when the form appears.
I currently have the calculation in a module that is called from each of the
On Update events for the 8 fields. I have the Average Ratings field set up
as an unbound field. The module is pretty long.
I have a couple of issues - when one field in a record is updated all of the
Average Ratings change on ALL the records in the subform. When I attach the
Average Ratings field to a field in my table, I get an error message that You
can't Assign a value to this object.
I would prefer to store the calculated amount in my table. This database is
being used to test a web based system in development, so I am not that
concerned about normalizing my data. I need to use the calculated amounts on
another form later.
Is there a way for me to call that module when the subform is first
displayed and then call it again each time a change is made with the result
ending up in my table?
I apologize for the length of this post. I appreciate any help. Thanks!