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!
Connection to Firebird Server + Embedded at the same time
Moderators: gto, EgonHugeist
You prepare your two connections at runtime... could you post some sample code... just for check that your are set all parameters correctly
Codebue Fabio
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
Code Example
This is a code example that doesn't work.
the 3rd request goes to the server but should be on the embedded
the 3rd request goes to the server but should be on the embedded
You do not have the required permissions to view the files attached to this post.