Hi
I have a continuous subform which has 5 textboxes on each row. After the user enters a value in any one of the textboxes a function is called which uses all the data in the subform and some on the main form to calculate some results. I was just wondering what the best way is to acheive this.
At the moment I'm using the onexit event on the textboxes (which doesn't always work) and then I'm looping through the subform recordset using DAO (any other way changes the focus in the subform).
The main thing I want to achieve is to recalculate all the values whenever the user changes just one box.
I have a continuous subform which has 5 textboxes on each row. After the user enters a value in any one of the textboxes a function is called which uses all the data in the subform and some on the main form to calculate some results. I was just wondering what the best way is to acheive this.
At the moment I'm using the onexit event on the textboxes (which doesn't always work) and then I'm looping through the subform recordset using DAO (any other way changes the focus in the subform).
The main thing I want to achieve is to recalculate all the values whenever the user changes just one box.