Designer.DataSettings.DatabaseName is empty
Hi there,
I found strange behavior of ppDesigner. I took Demo example for End User and
ADO connection. Setup ADO properties and run it. Everything works fine. Now,
I moved ADO component into another DataModule. Linked everything and run.
The Designer.DataSettings.DatabaseName is empty. All other settings are OK.
When I returned ADO comp back, everything works fine again. How can I go
around of this problem. I need to separate ADO comp from other comp's.
Best regards
Michael
I found strange behavior of ppDesigner. I took Demo example for End User and
ADO connection. Setup ADO properties and run it. Everything works fine. Now,
I moved ADO component into another DataModule. Linked everything and run.
The Designer.DataSettings.DatabaseName is empty. All other settings are OK.
When I returned ADO comp back, everything works fine again. How can I go
around of this problem. I need to separate ADO comp from other comp's.
Best regards
Michael
This discussion has been closed.
Comments
I tried a test here using RB 9.02. I modified the RBuilder\Demos\EndUser
Databses\MS Access\ADO example. I moved the ADOConnection component to a
DataModule. That worked in my testing here. Are you using RB 9.02? Try doing
the same. If not download a trial version and check it out.
You can also trace the code in daDB.pas for TdaSession.GetDatabaseNames.
This method can be overriden in daADO.pas, see
TdaADOSession.GetDatabaseNames.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
We use D7, RB 7.04
Thank you for responce,
Michael