When a report has enabled parameters ShowAutoSearchDialog property is ignored and the dialog is alw
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.
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.
This discussion has been closed.
Comments
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