Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report generates multiple copies

Status
Not open for further replies.

plcman

Programmer
Feb 17, 2001
92
GB
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
 
Hi

there is no query, the record is selected by the stLibkCriterea as shown above.


Thanks
 
What is the Record Source of the report? That is, what is the record picked from? stLibkCriterea only says which record to pick.
 
The record is picked from a table, as explained above, there is only one record in the table.

Regards

Alan Edwards

85% of statistics that are quoted are entirely made up!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top