smartslingaro
Registered User.
- Local time
- Today, 09:37
- Joined
- Aug 23, 2019
- Messages
- 17
Hi,
I have a form that I want to open based on record in current form. 2nd form is different table, linked by primary key in first. Need form to open with primary key on first form, like an autofill of the field. Keep getting a syntax error with this code:
Private Sub Command121_Click()
do.cmd.openform "Progress Note", acNormal,,"[Student ID]='"&Me[Student ID]&"'"
End Sub
Please help!
I have a form that I want to open based on record in current form. 2nd form is different table, linked by primary key in first. Need form to open with primary key on first form, like an autofill of the field. Keep getting a syntax error with this code:
Private Sub Command121_Click()
do.cmd.openform "Progress Note", acNormal,,"[Student ID]='"&Me[Student ID]&"'"
End Sub
Please help!
