I have a subform "ItemForm" in a mainform, and a button to call another form "DataForm" to capture some data.
when return from DataForm, I want the ItemForm refresh as some data is entered in DataForm.
But the below does not show any data in ItemForm.
Code:DoCmd.OpenForm "DataForm", , , , , acDialog, 5 Me.ItemForm.Requery Me.Refresh