Home Datapipelines

Starnge thread Error when trying to print

edited September 2002 in Datapipelines
I am using RBldr 6.03, D6.
I have a default printer set up that is working.

I have an IBX query with ppDBpipeline and report.
It works fine with devicetype screen - I am able to view the report.
When running within the IDE, as soon as I click the print button for the
report the program halts execution on thread $0000048C at 77F7705 ret. If I
click Run then the print dialog appears and I am able to print.
Note that I do not get the error when I run the program outside of the IDE.

Gerald

Comments

  • edited September 2002
    RB 6.03 is not threadsafe. RB 7 is threadsafe. Please upgrade to RB 7 for
    D6 if you want to run reports in a threaded environment. Contact
    info@digital-metaphors.com with your full registration information to
    upgrade.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    Thanks Jim -
    That was timely, I just got RB7 yesterday (not installed yet) :)
    Just curious, what creates the threaded environment in my D6 app?
    (In this app, I am using Indy 8.0.25, and IBX db components including Event
    Alerter).

    Gerald

    PS
    I never heard back from you on getting the IBPipeline installed in D6 - did
    you ever figure out how to do it?



  • edited September 2002
    I thought you were running reports in different threads as given by your
    message title. If you have a query and pipeline on a form, then it should
    just work fine. What event handlers do you have for this report? They will
    refire when you generate the report to a printer that is different that the
    one specified in the Report.PrinterSetup.PrinterName. Can you recreate this
    problem in a simple demo? We can take a look at it here if you send a
    simple working demo to support@digital-metaphors.com

    I downloaded IBO 4.2. I installed the IBO packages and then installed the
    IBO pipeline. It installed with no problems into D6 (UP #2), except that
    there was no icon for it in the RBuilder tab. I could then connect it to
    TIB_Datasource objects on the form.

    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.