TMyConnection - username, server etc
Posted: Wed 11 Jan 2006 20:47
Hi,
I currently use multiple connections in my application and have some questions. I use one main connection which prompts for logon at the start of the program. All other connections are per Form.
1. Even if I set connected=false (Except main connection) the other connections seem to connect automatically, since I do not call 'connect'. Is this the way it should work?
2. Do I have to set pooling options in all TMyConnection instances?
3. Last username is stored in registry. Can I force it to be stored in a differend registry key
I hope someone can answer these questions, since i cannot find much information in the Helpd.
best regards,
Hans
I currently use multiple connections in my application and have some questions. I use one main connection which prompts for logon at the start of the program. All other connections are per Form.
1. Even if I set connected=false (Except main connection) the other connections seem to connect automatically, since I do not call 'connect'. Is this the way it should work?
2. Do I have to set pooling options in all TMyConnection instances?
3. Last username is stored in registry. Can I force it to be stored in a differend registry key
I hope someone can answer these questions, since i cannot find much information in the Helpd.
best regards,
Hans