Re:Delphi 4 & MS SQL Server 6.5
Hello,
Take a look at the server configuration ('user connection' number), value
range is between 5 up to 32767. Each connection takes 37 Ko of memory.
An application using database controls needs at least 1 user connection by
dataset.
To set the value, use the 'sp_configure' stored proc or right-click on the
server, configure...
Regards.
Eric Pedrazzi
www.chez.com/epedrazzi
Thomas K?mpfer <kaempf...@geocom.ch> a crit dans le message :
835fag$sd...@news1.sunrise.ch...
Quote
> Hi
> Got the following message while working with my delphi client-server
> application:
> "[Microsoft] [ODBC SQL Server Driver] Connection is busy with results for
> another hstmt"
> I'm working with Delphi 4 (client-server) and MS SQL Server6.5 (ODBC data
> source). My GUI uses quite a number of datasets for
master-detail-relations
Quote
> and lookup purposes (almost 10 per window).
> Until now I work with only one session (default) and one TDatabase-Object,
> i.e. every TQuery-Object uses the same TDatabase-Object.
> -> can I avoid the problem by using more than one Sessions /
Database-Object
> -> or is it an ODBC driver Problem (ODBC SQL Server 3.60.03.19)
> -> or can I set a parameter on the SQL server itself to make it work
> Thanks for your help. Thomas