I need to print out just the current record. i.e, I have a text label with the following event procedure to print a mailing label, in this case for the attorney attorney in the record. The code I used below prints ALL records with the same attorney name, which means I may get multiple labels, as some patients share a common attorney. I need just ONE label to print, not all occurances of the specific attorney name. Any help?
Dim strCriteria As String
strCriteria = "[QME/AME Information]![attorney]=[Forms]![QME/AME Information]![attorney]"
DoCmd.OpenReport "attorney Label", acViewPreview, , strCriteria
Dim strCriteria As String
strCriteria = "[QME/AME Information]![attorney]=[Forms]![QME/AME Information]![attorney]"
DoCmd.OpenReport "attorney Label", acViewPreview, , strCriteria