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

A separate database connection is required for each thread

edited December 2011 in General
Hi,

I use ReportBuilder Enterprise v 12.05 with Delpi XE.
I am trying to genrate a report in a seperate thread.

I keep getting the error

"A separate database connection is required for each thread"

Any Help would be appreciated.

Kind Regards,

Robert.

Comments

  • edited December 2011
    Sounds like you need to create separate database components within that
    thread using the report component, and connect your report component to
    that.

  • edited December 2011
    Thanks David,

    Solved by creating a distinct datamodule for thread execution with it's own
    connection object.

    Kind Regards,

    Robert.




This discussion has been closed.