problem to requery subform data

eugzl

Member
Local time
Today, 01:30
Joined
Oct 26, 2021
Messages
127
Hi All.
The fInventory parent form has Tab Control where I located the fDeviceSubForm and button which call child form to create a new record. All controls located in detail section. When click Save button a new record successfully saved. But the code line:
Code:
Forms!Form_fInventory!fDeviceSubForm.Requery
to requery data of subform return error return error message
DeviceFormErr.png

How to fix the problem?
Thanks
 
Try:

Forms!Form_fInventory!fDeviceSubForm.Form.Requery

That should get you to the properties of the subform.. There are places where you can get away without the .Form and others where you can't.
 
Try:

Forms!Form_fInventory!fDeviceSubForm.Form.Requery

That should get you to the properties of the subform.. There are places where you can get away without the .Form and others where you can't.
Thanks a lot
 
Last edited:

Users who are viewing this thread

Back
Top Bottom