Fast Reports Unidac Connection
Posted: Mon 17 Feb 2014 21:07
Hi,
I have an application that runs a fast report in 4 different threads(1 Report per thread). Each thread/report should connect to a different oracle database by setting the connection property of the TfrxUniDACComponents. I am using the below code to set this database within each thread. The report also resides within each thread.
The issue: When I load a report in each thread, it uses only 1 of the connections and it is not picking up the local TfrxUniDACComponents. I have a feeling this is an issue with my understanding of how TfrxUniDACComponents works. Can you please explain how a report knows which TfrxUniDACComponents object to use to execute its unidac query against. The query is within the report on the data page.
I have an application that runs a fast report in 4 different threads(1 Report per thread). Each thread/report should connect to a different oracle database by setting the connection property of the TfrxUniDACComponents. I am using the below code to set this database within each thread. The report also resides within each thread.
Code: Select all
TfrxUniDACComponents * fudc = new TfrxUniDACComponents(NULL);
fudc->DefaultDatabase = c;