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

RB 6.03 and Delphi 6.02

edited February 2002 in General
Hi.
After I have installed Delphi 6 Upd2 and recompiled my application , I
cannot print report!!! I cannot invoke Printer dialog.
It's happening on win95. I have installed DCOM 1.2 for win95 and I am able
to run app, but if I try to print report... NOTHING !
If I run the same app on my xp, everything is OK.
Anyone experienced this? Can you point me how to solve this, I need it
urgent!
Thanks

Comments

  • edited February 2002
    The only problem we have encountered (and fixed- patch is available upon
    request) is that if your master-detail key linking field is null, then a new
    exception is raised by Delphi, with the update pack #2 for D6.

    Did you install a different printer driver or anyhting else, besides UP# 2?

    Can you create a test project with a DBGrid to see if the win95 machine can
    connect to the data?


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited February 2002

  • edited March 2002
    On Wed, 27 Feb 2002 15:20:06 -0600, "Fikret Hasovic"
  • edited March 2002
    OK. Thanks. But, I still wonder why everything is OK when I compile project
    without delphi 6 sp2 ...
  • edited March 2002
    I wonder this too. Do our demo reports run
    (..\Delphi6\RBuilder\Demos\Reports)? Can you send us an example report
    which doesn't work to support@digital-metaphors.com ? I am running the
    update pack #2 on my Win2K machine and another engineer here is running XP
    with the update pack #2 installed for D6 also. We have had no trouble
    running any reports of ours.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited March 2002

  • edited March 2002
    Sorry, I forgot you were running into the problem in Win95. Unfortunately,
    we don't have any Win95 machines here to test with, either. The MIS
    department wanted Win2K on everything:) I'll have to see if I can find an
    unused machine and install win95 on it at some point in time. It probably
    will be faster if you installed Win95 on old pc. You are sure that the call
    to Report.Print is causing the lockup? When the report begins printing, it
    should try to open the datasets. Perhaps, there is something happening then
    that is causing the problem?

    Create an exe from our main reports demo project and see if that runs with
    D6 sp2 on the Win95 machine. If that works, then try your full app. If the
    problem appears on your test machine, then you'll need to isolate the
    simplest a report which doesn't print, and the least amount of code
    associated with it. Send this delphi project to
    support@digital-metaphors.com and we'll install Win95 and fix it.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.