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

Converting existing reports from BDE

edited June 2004 in General
I have existing reports that were designed using the BDE. I am no
longer using the BDE and I have written my own plug in for Core Labs'
SDAC product. What is the easiest way to convert the reports?

Right now if I try to open the existing reports in the designer I get
the following exception message:

"Class TdaBDEQueryDataView not found"

Thanks

Mike

Comments

  • edited June 2004
    >Right now if I try to open the existing reports in the designer I get

    I have added back the daDBBDE unit to the uses clause, and I can
    access the reports again, but I am having trouble now with the newly
    created plugin.

    It seems in looking at other plugins that the general method for
    getting access to the connection object is to loop through all of the
    forms and datamodules and look for an appropriately named component.

    In my case the connection object is created at run time in code, and
    is not a component that belongs to a form or datamodule.

    What is the best way to gain access to the connection object? Once I
    have the connection object, I can call its GetTableNames() and
    GetDatabaseNames() methods.

    Thanks,

    Mike
  • edited June 2004
    Hi Mike,

    Is this a plugin you are creating on your own? If not, which plugin are you
    using?

    This is how some of the plugins work to find all the connections on your
    forms, but it is not necessary. You could customize this so the connection
    object is set manually through code as you probably need.

    --
    Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
    Delphi Informant Readers Choice awards!

    http://www.delphizine.com/ballot2004/

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2004
    >Is this a plugin you are creating on your own? If not, which plugin are you

    Yes it is one I have created.


    I got the connection working, but now when I go into an old report and
    create a new dataview with the data settings set to the new plugin
    type everything works fine until I close and reopen the report (even
    after saving it). When I reopen the report the data settings are
    blank and need to be reset. What do I need to do to have this
    information saved in the report?

    Mike
This discussion has been closed.