Hi ,
I am having a problem when I try to do a refresh of the parent form (Got calculations), when I update the subform, the control of the subform goes to the first record. I want it to stay in the same record on the subform (SUb form is a single form attached to the parent form which is also a single form).
This may be something simple that I am failing to understand.
When the user clicks the save button, on the subform, the following code is executed:
Private Sub RefreshCalculation()
Forms!frmBudget.txtFYBudgetChangeMax.Requery
Me.Parent.Refresh
End Sub
Thanks,
Priya
I am having a problem when I try to do a refresh of the parent form (Got calculations), when I update the subform, the control of the subform goes to the first record. I want it to stay in the same record on the subform (SUb form is a single form attached to the parent form which is also a single form).
This may be something simple that I am failing to understand.
When the user clicks the save button, on the subform, the following code is executed:
Private Sub RefreshCalculation()
Forms!frmBudget.txtFYBudgetChangeMax.Requery
Me.Parent.Refresh
End Sub
Thanks,
Priya