The following should reference a subform from another Form. It doesn't recognise the name of the Main form however ( it's definitely correct )
As you can see, I'm tring to edit/update a field, that is a part of the recordset of that subform. Any ideas.
Code:
With Forms!frmAfAIS(test)!frmReferrals.Form.Recordset
.Edit
!Staff_ID = rst.Fields("Staff_ID")
.Update
End With
As you can see, I'm tring to edit/update a field, that is a part of the recordset of that subform. Any ideas.