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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data different on print from preview

Status
Not open for further replies.

nyzja

Programmer
Jan 13, 2005
31
US
Hello! I have a report with about 15 rows of data from a crosstab query. The preview looks fine but when I print, I get only the last line of the data printed 15 times (in 15 rows). If I export the report into Excel or RTF, I get the same result as the printout. But if I do a direct print, the report data is fine. So in my ReportHeader_Format section, I tried to add myRS.movefirst but I get an error saying "Operation is not supported for this type of object."

Please advise. Thanks!
 
nyzja
Is the report driven by parameters from a form? If so, it could be that the form is being closed when the report goes into Preview mode and prior to the printing.

Tom
 
Thanks for the response, Tom!

No, all I have is a simple button that opens the report in preview mode, no parameters or any other filters.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top