Hi All.
I would like to highlight new record added to continuous subform in the parent form. For that I used code:
But in line DoCmd.GoToControl "fDeviceSubForm" I got error message
There is no field named 'fDeviceSubForm' in the current record.
Could someone show how to highlight a new record in the subform located in parent form after it was saved in child form?
Thanks
I would like to highlight new record added to continuous subform in the parent form. For that I used code:
Code:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.GoToControl "fDeviceSubForm"
DoCmd.GoToRecord , , acLast
Forms!fInventory!fDeviceSubForm.Form.Requery
DoCmd.Close acForm, Me.Name
There is no field named 'fDeviceSubForm' in the current record.
Could someone show how to highlight a new record in the subform located in parent form after it was saved in child form?
Thanks