Hi
I'm trying to reference the subform from the parent form so that a figure from the hidden form can be capture on the subform , but I keep on getting an error that control cannot be found : Forms![frmGrn].Form![SfrmPurchasesOrdersDetailslines Subform]![GRNID
Where do I go wrong?
I'm trying to reference the subform from the parent form so that a figure from the hidden form can be capture on the subform , but I keep on getting an error that control cannot be found : Forms![frmGrn].Form![SfrmPurchasesOrdersDetailslines Subform]![GRNID
Code:
Private Sub CboAttachGRN_AfterUpdate()
Forms![frmGrn].Form![SfrmPurchasesOrdersDetailslines Subform]![GRNID] = [Forms]![frmGrn]![GRNID]
End Sub
Where do I go wrong?