Hi
i have a problem where when a report is generated by the click of a button multiple copies are generated (actually 6 copies every time). Even in preview mode 6 copies are shown of an identical report. There is only one record in the table and so only one matching record.
the code behind the button is:
certificateNo = Me![CertNo]
stLinkCriteria = "[CertNo] =" & certificateNo & ""
stDocName = "Certificate"
DoCmd.OpenReport stDocName, acViewPreview, stLinkCriteria
I have even tried a different printer. Any help would be appreciated.
Thanks
i have a problem where when a report is generated by the click of a button multiple copies are generated (actually 6 copies every time). Even in preview mode 6 copies are shown of an identical report. There is only one record in the table and so only one matching record.
the code behind the button is:
certificateNo = Me![CertNo]
stLinkCriteria = "[CertNo] =" & certificateNo & ""
stDocName = "Certificate"
DoCmd.OpenReport stDocName, acViewPreview, stLinkCriteria
I have even tried a different printer. Any help would be appreciated.
Thanks