<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>8 May 2015 13:49:17 Z</lastBuildDate><pubDate>8 May 2015 13:49:17 Z</pubDate><description>Hello, i hope i can find some answer here, i have the following situation:&#13;
&#13;
On my server i have 2 databases , depending on giving parametter  i must insert data in database A or database B , but i cannot do it, it always inserts it in Database A&#13;
I tryed to make 2 connections but when i make the connection i must choose the table it doesn't allow me to put a table in 2 connections&#13;
&#13;
I tryed to change the analysis bot same problem &#13;
&#13;
i used the following codes for changing the analisys &#13;
&#13;
	HClose("*")&#13;
 &#13;
	HCloseAnalysis()&#13;
	HOpenAnalysis("D:\WINDEV......ana\WD Utilisation des sockets_1.wdd","V....")&#13;
	HOpenConnection(Conect )&#13;
	HChangeConnection("*",Conect)	&#13;
	HOpen("*")&#13;
&#13;
I also tried :&#13;
&#13;
HOpenConnection("MyConnection_01")&#13;
HChangeConnection("*.*","MyConnection_01")&#13;
HExecuteQuery(MyQuery,hQueryDefault)</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51988-2-connection-same-time-different-databases/read.awp</link><title>2 connection same time on different databases</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
