R
Randy
I have used the below code that was suggested and the reports still
prints all the records.
What would prevent this from working that maybe I am not doing
correctly?
Is there something else I need to do.
It processes the code fine except I do not get just one record.
Insert this code in the "on click" event of your command button that
prints
your report.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "ReportName"
stLinkCriteria = "[TableName.FieldName]=" & Me![FieldName]
DoCmd.OpenReport stDocName, acViewNormal
prints all the records.
What would prevent this from working that maybe I am not doing
correctly?
Is there something else I need to do.
It processes the code fine except I do not get just one record.
Insert this code in the "on click" event of your command button that
prints
your report.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "ReportName"
stLinkCriteria = "[TableName.FieldName]=" & Me![FieldName]
DoCmd.OpenReport stDocName, acViewNormal