Michel,
I'll admit up front that I'm answering your question without fully looking at your code....but you may want to check out the code in Kevin McNeish's book (.NET for VFP developers). He covers this.
Also, there are some posts between Bonnie and myself back in the summer of 2002 (it was somewhere between July and September) when I asked questions about coding against multiple databases, and she gave me some good ideas and maybe even some code samples. If I can find the specific message IDs I'll pass them on.
Kevin