Simplest solution is to place the ADOConnection object on the same form/datamodule that contains the TppDesigner. When you specify ADOSession for the Designer.SessionType the drop down list for DatabaseName will list the ADOConnection object.
If the TppDesigner resides on a Form, then the drop down list will also show ADOConnection objects that reside on a DataModule.
If the TppDesigner resides on a DataModule, then only ADOConnection objects on the data module will be listed. ADOConnection on other data modules will not appear.
-- Nard Moseley Digital Metaphors Corporation www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
Simplest solution is to place the ADOConnection object on the same
form/datamodule that contains the TppDesigner. When you specify ADOSession
for the Designer.SessionType the drop down list for DatabaseName will list
the ADOConnection object.
If the TppDesigner resides on a Form, then the drop down list will also show
ADOConnection objects that reside on a DataModule.
If the TppDesigner resides on a DataModule, then only ADOConnection objects
on the data module will be listed. ADOConnection on other data modules will
not appear.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com