One solution is to use the OnBeforeAutoSearchDialog create event to initialize the AutoSearchFields[].SearchExpression values. You could also use the Report.Template.OnLoadEnd event to do this.
Another approach would be to create a custom autosearch dialog that displays the default value. See RBuilder\Demos\AutoSearch\Custom AutoSearchDialog.
-- Nard Moseley Digital Metaphors Corporation www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
One solution is to use the OnBeforeAutoSearchDialog create event to
initialize the AutoSearchFields[].SearchExpression values. You could also
use the Report.Template.OnLoadEnd event to do this.
Another approach would be to create a custom autosearch dialog that displays
the default value. See RBuilder\Demos\AutoSearch\Custom AutoSearchDialog.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Your first solution, I can do this in RAP? RB6.03
Alex
Yes, the Report.OnBeforeAutoSearchDialogCreate event is available to RAP.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com