Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Designer.DataSettings.DatabaseName is empty

edited October 2005 in End User
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

Comments

  • edited October 2005

    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
  • edited October 2005
    Sorry Nard,

    We use D7, RB 7.04
    Thank you for responce,

    Michael


This discussion has been closed.