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

TppCustomAutoSearchDialog

edited July 2004 in General
Hi
I currently have two projects with reports and many common files between
them and i am trying to integrate some of the reports from one exe with the
other. The first exe has RB reports just made in delphi and the second exe
has RB reports made in RAP opened via the ReportExplorer. This is all well
and good, but i have a CustomAutoSearchDialog in each project which i need
for the reports. When i add the CustomAutoSearchdialog from the first
project into the second, both the customautosearchdialogs stop working. is
there a way i can have both CustomAutoSearchDialogs working in 1 project or
will i have to take all the classes out of one and put them in to the other?
Cheers
Adam

Comments

  • edited July 2004
    Hi Adam,

    I'm not sure why both autosearch dialogs are not working when you register
    both of them. It is however impossible to register two autosearch dialogs
    in the same application and have both of them work. You could perhaps
    register and unregister each dialog as you need them for each report. As an
    alternative, you could create a new custom autosearch dialog that contains
    multiple panels. Then depending on the report, show the correct panel in
    the dialog.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2004
    Thanks for that Nico. I already have multiple panels in both the autosearch
    dialogs, i guess i will just have to combine the two units.
    Cheers
    Adam.

This discussion has been closed.