I have a bug on my subform. The main form is called [frmgroup] and the subform is called[subform], they are linked by group_No.
There are three filed on the subform. When I click a button on the subform, it will go to another table, look up some data based on valuesin field 1 and 2,then update filed3 on the subform.
My problme is that I have to click twice in oroder to get the correct value updated on filed3. I debug the code, it seems that the table behind the subform has been updated correctly after the first click, but won't reflect the change on the subform.
I think I need to reload the form behind the scence in order to show the change. But I don't know how to reload/requery a form/subform. Can anybody help me?
There are three filed on the subform. When I click a button on the subform, it will go to another table, look up some data based on valuesin field 1 and 2,then update filed3 on the subform.
My problme is that I have to click twice in oroder to get the correct value updated on filed3. I debug the code, it seems that the table behind the subform has been updated correctly after the first click, but won't reflect the change on the subform.
I think I need to reload the form behind the scence in order to show the change. But I don't know how to reload/requery a form/subform. Can anybody help me?