Hey, I've been thinking about the internal connection. Actually we can use the standard connection and then ad a hint to the SQL statement that it is an internal connection. so the remote connection query would look like this: Select /*!DDE_INTERNAL*/something FROM somewhere; Like this we would not need to care about modifying the connection process. what do you think? Peter MySql-DDE discussion list www.freelists.org/