Creating MyDAC components at runtime
Posted: Fri 24 Feb 2006 00:21
Hi,
Please excuse this somewhat basic question - I come from a Java background where creating JDBC objects at run-time is OK and I was hoping to do the same with MyDAC.
When I try to create new TMyConnection and TMyQuery objects using the new operator, the compiler tells me there is no constructor for this operation. I guess I'm doing something wrong, but am not sure what it is.
I would appreciate any advice on how to create MyDAC objects at run-time. Thanks in advance.
Larry
Please excuse this somewhat basic question - I come from a Java background where creating JDBC objects at run-time is OK and I was hoping to do the same with MyDAC.
When I try to create new TMyConnection and TMyQuery objects using the new operator, the compiler tells me there is no constructor for this operation. I guess I'm doing something wrong, but am not sure what it is.
I would appreciate any advice on how to create MyDAC objects at run-time. Thanks in advance.
Larry