Error or Crash when Printing Reports
Top  Previous  Next


SYMPTOM:

If you see this error, or a "Divide by Zero" error when printing a report.

clip0038

POSSIBLE CAUSES:

CAUSE 1.
It may be due to your database, or the report, containing OLE objects (such as pictures) for which the PC you are running the report on has no OLE server.

An OLE server is a program that manages display and manipulation of an embedded object on behalf of Martial Class™.

To verify if this is the case:

1) try printing reports that simply display textual information

2) open the report in Crystal and delete any picture fields, then rerun the report.

If both of these actions work, then it is


CAUSE 2.
Another possible cause is a real divide by zero error in a calculated field in your report.


REMEDY:

Cause 1 Remedy:

Install a OLE server for the ole object type causing the problem. ie: Microsoft Photopaint for handling major image types.

Cause 2 Remedy:

Edit the report to avoid divide by zero problems.

ie:
if denominator = 0 then
0
else
numerator / denominator