Connection to Firebird Server + Embedded at the same time
Posted: 12.06.2009, 18:30
Hello!
I have a littel problem with the TZConnection.
I try to connect to a Firebird Server and a Firebird Embedded Database a the same time. I need this for a machine control system.
I generate to Instance of TZConnection. With the first i connect to the embedded and with the second to the server. When i now access data, this happens: i retriev data from the embedded whit my LocalConnection and then data from the Server with my ServerConnection. I then try to retriev data from the Embedded with the localConnection again, but the localConnection now tries to recieve data from the server ?!?
Why that? where do i have a mistake? something special in the use of two TZConnections?
(with only one TZConnection and only one database system everything is okay, but two TZConnections and two database nothing works). and i need the access of the two databases at the same time (no switch mode available).
Can someone help me please?
Thank you a lot!
I have a littel problem with the TZConnection.
I try to connect to a Firebird Server and a Firebird Embedded Database a the same time. I need this for a machine control system.
I generate to Instance of TZConnection. With the first i connect to the embedded and with the second to the server. When i now access data, this happens: i retriev data from the embedded whit my LocalConnection and then data from the Server with my ServerConnection. I then try to retriev data from the Embedded with the localConnection again, but the localConnection now tries to recieve data from the server ?!?
Why that? where do i have a mistake? something special in the use of two TZConnections?
(with only one TZConnection and only one database system everything is okay, but two TZConnections and two database nothing works). and i need the access of the two databases at the same time (no switch mode available).
Can someone help me please?
Thank you a lot!