Hi
I have a form that creates records, and saves them in to a query.
i also have another form displaying the records in a continuous form.
how do i get the continuous form to refresh the data, once the first form is saved or updates.
here is my code i thought would work but doesnt
first form is called frm_Eng_MCU_NewEntry
second form the continuous form (the form i was to refresh), is called frm_Eng_Mcu_Tracker
I have a form that creates records, and saves them in to a query.
i also have another form displaying the records in a continuous form.
how do i get the continuous form to refresh the data, once the first form is saved or updates.
here is my code i thought would work but doesnt
first form is called frm_Eng_MCU_NewEntry
second form the continuous form (the form i was to refresh), is called frm_Eng_Mcu_Tracker
Code:
Private Sub Form_AfterUpdate()
If CurrentProject.AllForms("frm_Eng_Mcu_Tracker").IsLoaded = True Then
[Forms].[frm_Eng_Mcu_Tracker].Requery
End If
End Sub