F
forest8
Hi
This is the code I have entered in the event procedure to print a single
record.
Unfortunately, it's not working. How do I fix this code:
Private Sub Print_this_record_Click()
Dim strDocName As String
Dim strWhere As String
strDocName = "R1-1 GPS_GeneralInfo"
strWhere = "[StudentID]=" & Me!StudentID
DoCmd.OpenReport strDocName, acPreview, , strWhere
End Sub
I need to print out one StudentID for the report R1-1 GPS_GeneralInfo. When
I click on the button, a popup box with the Student CG2002 appears.
Thanks for your help in advance.
This is the code I have entered in the event procedure to print a single
record.
Unfortunately, it's not working. How do I fix this code:
Private Sub Print_this_record_Click()
Dim strDocName As String
Dim strWhere As String
strDocName = "R1-1 GPS_GeneralInfo"
strWhere = "[StudentID]=" & Me!StudentID
DoCmd.OpenReport strDocName, acPreview, , strWhere
End Sub
I need to print out one StudentID for the report R1-1 GPS_GeneralInfo. When
I click on the button, a popup box with the Student CG2002 appears.
Thanks for your help in advance.