Hi,
I have a main form which has a subform that data within the subform comes from a query, I would like that data to update when I have entered in new data without having to close the form, however all my attempts seem to have fail so far here is what I have.
Three forms;
frm_Main_Form
frm_Main_Form_Sub
frm_Add_Price_Request
I have set the AfterUpdate on the form "frm_Add_Price_Request" with the code below and it returns Error 2465 missing field..
This same setup worked on a similar setup and I can’t see a difference.
Thanks for any help...
Karl
I have a main form which has a subform that data within the subform comes from a query, I would like that data to update when I have entered in new data without having to close the form, however all my attempts seem to have fail so far here is what I have.
Three forms;
frm_Main_Form
frm_Main_Form_Sub
frm_Add_Price_Request
I have set the AfterUpdate on the form "frm_Add_Price_Request" with the code below and it returns Error 2465 missing field..
Code:
Private Sub Form_AfterUpdate()
Forms![frm_Main_Form]![frm_Main_Form_Sub].Requery
End Sub
This same setup worked on a similar setup and I can’t see a difference.
Thanks for any help...
Karl