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

Problem with DADE when BDE is not installed

edited February 2003 in End User
Using RB 7
On my dev-machine I have the BDE installed. For a certain project I utilze
ADO. On my customers machines only ADO is installed. When I try to edit the
reports I designed on my machine, I get an error, that the BDE could not be
initialized, altough ADO is selected as DB-connection.

Any idea?

Bernd

Comments

  • edited February 2003
    Hi Bernd,

    did you check your uses clauses for BDE related units (dbTables, BDE)?

    regards,
    Chris Ueberall;
  • edited February 2003
    Hi Chris,

    Yep. They are there. Willingly, because at runtime it is possible that
    either ADO or BDE will be used. The problem is, that if BDE is not present,
    I can?t even select ADO.

    Moreover there is a problem RB forgetting the DB settings, but this is
    something I haven?t tracked down yet.

    rgds
    Bernd

    utilze
    the
    be
  • edited February 2003

    1. If the 'uses' clause of your application contains daDBBDE or DBTables or
    any unit related to the BDE, then the application will require the BDE to be
    installed on the users machines.

    2. The Designer.DataSettings determine the connection settings for new
    dataviews that you create. However, once a dataview is created, it contains
    the connection settings that were applied when it was created. Also, note
    that a dataview cannot be switched from BDE access to ADO access without
    deleting the dataview and recreating it. There are separate dataview classes
    used for each type of connectivity: TdaBDEQueryDataView and
    TdaADOQueryDataView. The only workaround for this would be to edit the .rtm
    templates and modify the class names.

    3. At Delphi design-time the Designer.DataSettings are saved to
    RBuilder.ini. For the end-user designer, the TppDesigner.DataSettings
    specify the connectivity.



    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2003
    Hello Nard,

    or
    be
    But why? The rest of my program runs without problems, only RB fails, if I
    want to use DADE.

    contains
    That?s not true. With v7 sometimes the settings get lost and I have to
    recreate them in order to edit the report.

    Ok, this is something I have control over.

    Thank you,

    Bernd
  • edited March 2003
    Bernd,


    that's not an ReportBuilder issue. Every application will fail when using BDE without beeing installed itself.
    Try to use any BDE related component in such an environment with your own test application and see what happens.

    regards,
    Chris Ueberall;
This discussion has been closed.