Error Previewing Report: No Current Record

S

Sarah

I was able to preview this report when I had my default printer set to a
laserjet printer, but once I changed my default printer to a Xeorox color
printer I get error, no current record when trying to preview the same
report. I'm able to use this printer in other applications like Excel and
Word.

Anyone have any ideas?

Thank you,

Sarah
 
B

Brian

Try re-creating the report while having the Xerox color printer is your
default, then retry running the report with that as your default to see if
you have errors. If this works, then it is likely bad information in the
PrtDevMode/PrtDevNames property of the report itself.

These properties are set using information from the default printer driver
at the time the report is created (not when copied & pasted or imported), so
you actually have to recreate the report to get this test to work (you can
copy & paste the controls from the original onto the new one, though).

If recreating the report works, then it is possible that there is a conflict
between the printer you had as your default when creating the report and the
Xerox color printer you have as default when running the report.

I just went through an extended service incident with MS over some HP
LaserJet PCL6 drivers causing problems, and I eventually wrote some code to
copy the PrtDevMode & PrtDevNames properties from a known good report to one
that was having problems.

In my case, I had my default set to Adobe PDF, and this caused problems with
the HP LaserJet PCL6 drivers. If your test is successful, I can send you the
code to clean up the properties for any other reports that may be affected.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top