I'm probably going about this the wrong way.
I have the following code (I have written what I want it to do)
Basically copy data from my initial form and paste it into the new form
Can anybody point me in the right direction please?
I have the following code (I have written what I want it to do)
Basically copy data from my initial form and paste it into the new form
Code:
Private Sub ALCAdviser_AfterUpdate()
If Me.PON1 = "Has Partner" Then
'COPY THE DATA THAT IS IN Me.ALCAdviser
DoCmd.OpenForm "frm_partnerform", acNormal, "", "[clientref2]=" & "'" & [clientref2] & "'", , acNormal
'PASTE DATA INTO Me.frm_partnerform.ALCAAdviser
End If
End Sub
Can anybody point me in the right direction please?