Hi,
I’m trying to update a field on one form to a field on another form, but am receiving a VB error. I’m using the following code in the ‘After_Update’ section of the field:
Private Sub DeptAIP_AfterUpdate()
Forms![ProgramMovements].LatestAIPDate = Me.DeptAIP
End Sub
I have the same code in a different sub-form which works. This sub-form is part of the ‘ProgramMovements’ form, so I’m not sure if that’s why that code works, but this code in a separate form doesn’t work.
Basically, when I enter data in to the ‘DeptAIP’ field and then click out of the field, I get a VB error:
“Microsoft Office Access can’t find the form ‘ProgramMovements’……”
Any help would be appreciated.
Cheers,
Jason