We help IT Professionals succeed at work.

TDataModule component count limit

Last Modified: 2015-05-19
I seem to recall that there is a limit of 32 design-time data components supported on a single DataModule  such as TADOconnection, TADOQuery etc.

Is this correct ? I haven't found this in the BCB 5 help.
Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)


I remember coming across this about 13 years ago when using Borland C++ Builder 5 enterprise which I still use to support existing applications.
I had to add a datamodule to an application and move some components to the new datamodule in order to get the application to work. I have a particularly large application that exhibits an occasional failure and am considering the addition of another datamodule to contain excessive components from the existing 4 datamodules, all of which have more than 32 components. The occasional failure would seem to be a loss of connection to an SQL Server 2005 database.
This change will require a non-trivial amount of coding to change the references to components that have been moved so I would like to be sure of my facts before doing this.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.