H
hobbit2612 via AccessMonster.com
Hi I wonder if someone can help me please.
I am using a form to show Work Areas and a linked subform for the jobs
attached to that Work Area.
One of the fields on the subform is called Cost which I need to total and
show back on the main form, but, only if a tick box within the record is not
ticked.
Normally I would add a hidden text box to the subform footer that sums up the
cost, then create another text box on the main form linking to that hidden
text box.
However, because there is a certain criteria as to what is and isn't totalled,
i.e. the tick box, I can't do this.
I thought I had come up with a solution by creating another subform taking
the data directly from the table where the jobs are stored, enabling me to to
sum only the jobs that don't have the ticked box selected. I have then added
a text box to the main form linking to the sum of cost from the new subform.
However everytime I add a new job, I can't get this to update to the new
subform, and hence the text box unless I close the form.
Could someone tell me please, is there a way to get around this?
Many thanks and regards
Chris
I am using a form to show Work Areas and a linked subform for the jobs
attached to that Work Area.
One of the fields on the subform is called Cost which I need to total and
show back on the main form, but, only if a tick box within the record is not
ticked.
Normally I would add a hidden text box to the subform footer that sums up the
cost, then create another text box on the main form linking to that hidden
text box.
However, because there is a certain criteria as to what is and isn't totalled,
i.e. the tick box, I can't do this.
I thought I had come up with a solution by creating another subform taking
the data directly from the table where the jobs are stored, enabling me to to
sum only the jobs that don't have the ticked box selected. I have then added
a text box to the main form linking to the sum of cost from the new subform.
However everytime I add a new job, I can't get this to update to the new
subform, and hence the text box unless I close the form.
Could someone tell me please, is there a way to get around this?
Many thanks and regards
Chris