Problem/info about TMSConnection and ConnectionString property
Posted: Fri 18 Apr 2008 15:04
Dear Support,
I use last version of SDAC 4.35.1.16 prof. with Delphi 2007 with last service pack.
I have this problem / question.
I use TMSConnection component. I set connectionString at designtime and all is OK.
I set options - KeepDesignConnected to false in TMSConnection component.
I connect a TMSQuery to this TMSConnection. After this I close my TMSConnection with method Disconnect.
When I open my TMSQuery, itself open my TMSConnection.
If I set connectionString := '' and open my TMSQuery at this point I can't open Connection and I obtain an error message.
At this point my question is : is it normal this behavior ?
How can I disconnect from my DB TMSConnection component ?
Best regards.
Sergio Bertolotti
I use last version of SDAC 4.35.1.16 prof. with Delphi 2007 with last service pack.
I have this problem / question.
I use TMSConnection component. I set connectionString at designtime and all is OK.
I set options - KeepDesignConnected to false in TMSConnection component.
I connect a TMSQuery to this TMSConnection. After this I close my TMSConnection with method Disconnect.
When I open my TMSQuery, itself open my TMSConnection.
If I set connectionString := '' and open my TMSQuery at this point I can't open Connection and I obtain an error message.
At this point my question is : is it normal this behavior ?
How can I disconnect from my DB TMSConnection component ?
Best regards.
Sergio Bertolotti