Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

EPrintError when Previewing from RB Ent 6.02 under Delphi 6 Update 1 10-31-2001 keh

edited October 2001 in General
I am having a problem previewing one of my reports.

====================

10/29/2001 4:46:27 PM
TfrmMainMenu.AppException
WPW32 Exception information -
Exception Help Context: 0; Exception Class Name: EPrintError
Sender Class Name: TppPrintPreview; Sender Name: ppPrintPreview
Owner Class Name: TppReport; Owner Name: rptWPSs_
Error running Welding Pro-Write: Cannot generate report.

Integer overflow

====================

Above is an error log entry from when you try to preview a report called
rptWPSs_, in a program called Welding Pro-Write, outside of the Delphi IDE.

I have other reports that run from the same form, and load from the same
database, that do not give any errors when you try to preview them.

rptWPSs_ dose not give you an error when you output it to a printer.

When I did a straight Run inside the Delphi IDE and tried to preview
rptWPSs_ the program seemed to choked somewhere in the Variants unit.

When I did a Step-through inside the Delphi IDE rptWPSs_ pre-viewed without
an error.

Any suggestions on something I can do to fix this problem?

Karin E. Hacker
khacker@computereng.com
Software Developer
Computer Engineering, Inc.
http://www.computereng.com

Comments

  • edited November 2001
    Start taking bits and peices out of the report so that the report is as
    simple as possible, and so that it still shows the error. Then try to take
    the report out of the application and see if the problem still exists. Try
    to recreate the problem in a simple demo and send the example project to
    support@digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.