G
Guest
I have an AddComments form that I open from another reviewFeedback form. The
AddComments form is bound to a table of the same name; the table is linked to
the Feedback table via the idFeedback field. I would like to open the
AddComments form and programmatically set the idFeedback control on the
AddComments form to whatever value is showing in the reviewFeedback,
idFeedback control. I tried this code but it doesn't work.
Two questions: (1) Why doesn't it work? (2) How can I do what I am trying to
do?
Private Sub Form_Open(Cancel As Integer)
Me!idFeedbackNumber = Forms!reviewFeedback.idFeedbackNumber
End Sub
AddComments form is bound to a table of the same name; the table is linked to
the Feedback table via the idFeedback field. I would like to open the
AddComments form and programmatically set the idFeedback control on the
AddComments form to whatever value is showing in the reviewFeedback,
idFeedback control. I tried this code but it doesn't work.
Two questions: (1) Why doesn't it work? (2) How can I do what I am trying to
do?
Private Sub Form_Open(Cancel As Integer)
Me!idFeedbackNumber = Forms!reviewFeedback.idFeedbackNumber
End Sub