F
forest8
Hi there
One of my reports consists of two separate reports. This is my macro to
print the report out but as I mentioned in the subject, Access 2007 keeps
crashing.
How do I fix my error:
Private Sub Print_Click()
Dim strDocName As String
Dim strWhere As String
strDocName = "R2-2a GPS_Youth"
strWhere = "Youth_ID=" & Me.Youth_ID
DoCmd.OpenReport "R2-2a GPS_Youth", acPrint, , strWhere
strDocName = "R2-2b GPS_Youth"
End Sub
I can't even print out the first part of my report yet alone both parts.
The two parts of my report is one single table with over 50 variables. I
know I should have normalized my table but to do that as this junction would
take more time than I can afford.
Please any advice is greatly appreciated.
Youth_ID
One of my reports consists of two separate reports. This is my macro to
print the report out but as I mentioned in the subject, Access 2007 keeps
crashing.
How do I fix my error:
Private Sub Print_Click()
Dim strDocName As String
Dim strWhere As String
strDocName = "R2-2a GPS_Youth"
strWhere = "Youth_ID=" & Me.Youth_ID
DoCmd.OpenReport "R2-2a GPS_Youth", acPrint, , strWhere
strDocName = "R2-2b GPS_Youth"
End Sub
I can't even print out the first part of my report yet alone both parts.
The two parts of my report is one single table with over 50 variables. I
know I should have normalized my table but to do that as this junction would
take more time than I can afford.
Please any advice is greatly appreciated.
Youth_ID