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

When a report has enabled parameters ShowAutoSearchDialog property is ignored and the dialog is alw

edited June 2009 in General
ReportBuilder 11.04
Delphi 2007

Hi,

I made a report with some parameters; they are enabled so they can be edited
by the user.
Sometimes, my application need to launch the report without showing the
AutoSearchDialog, so in this situation I set ShowAutoSearchDialog to false,
but ReportBuilder ignores this setting and continues to show the dialog.
This does not happen if report has some autosearchfields, but no enabled
parameter.

Is this a bug?
How can I avoid this problem?

Thank you in advance.
Massimiliano Trezzi.

Comments

  • edited June 2009

    For each parameter, set Parameter.AutoSearchSettings.Enabled to False

    Or

    Use the Report.BeforeAutoSearchDialogCreate event to set
    Report.ShowAutoSearchDialog to False.




    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.