TDataModule component count limit

Posted on 2014-08-09
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.
Question by:alcindor
    LVL 19

    Accepted Solution

    How did you come to this assumption?

    I'm working with data modules containing definitely more than 32 components...
    LVL 2

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now