Docmd.OpenReport CRASHES Access '97

  • Thread starter Thread starter Jonathan Goldman
  • Start date Start date
J

Jonathan Goldman

Hi-
I have a relatively simple report that I open in an Access '97 VBA
procedure, using the

Docmd.OpenReport "rptName", acViewNormal

syntax. The problem is that doing this usually crashes Access! No
error message is given, the thing just vanishes! Why? How do I fix
this?

TIA...
 
If this happens for just one report, the database is partially corrupt.
Create a new (blank) database, import everything else, and rebuild the
report.

If it happens for the reports in other databases (such as Northwind) as
well, the problem could be something else such as a faulty printer driver.
Access uses the metrics of the printer driver to prepare the report, even if
you do not print.
 
Back
Top