I'm trying to write an application that uses a single connection to a MSSQL database server, for all its queries.
I'm currently pointing all my TTable objects at single TDatabase object. But what I find is that each time I open a new TTable it makes a new connection to the database server. So for example, on one form I need 5 TTable open at the same time, and hence I get 5 connections. What I would like is to use only one connection for all 5 TTables.
Is there a way to do this, and if there is what is it?