G
Guest
I need to automatically save a running total in subform into a record in its
parent form without the user pressing an update button/code.
I have code for the update button that updates the parent record just fine.
me.Total =nz(POItemSubform.Form!SumofCost)
When I use the same code in the onExit of the subform or try to use the
..parent code in the subform it doesn't udpate correctly. It seems to be the
previous or old value.
I found if I wait some period of time I can get it to work by reentering and
exitiing the subform.
parent form without the user pressing an update button/code.
I have code for the update button that updates the parent record just fine.
me.Total =nz(POItemSubform.Form!SumofCost)
When I use the same code in the onExit of the subform or try to use the
..parent code in the subform it doesn't udpate correctly. It seems to be the
previous or old value.
I found if I wait some period of time I can get it to work by reentering and
exitiing the subform.