referencing id from original form and pasting to the other form

yepwingtim

Registered User.
Local time
Today, 12:13
Joined
Jun 6, 2008
Messages
126
very basic question... what am i doing wrong

Private Sub Command40_Click()
DoCmd.OpenForm "frmRimFindInformation"
DoCmd.GoToRecord acDataForm, "frmRimFindInformation", acNewRec
frmRimFindInformation.ID = me.id

End Sub

thanks =)
________
330
 
Last edited:
Change the following

Private Sub Command40_Click()
DoCmd.OpenForm "frmRimFindInformation"
DoCmd.GoToRecord acDataForm, "frmRimFindInformation", acNewRec
Me.Id = Forms("OtherformName")("OtherIDControlName")


End Sub
 

Users who are viewing this thread

Back
Top Bottom