ClientReport Custom AutoSearch

TECH TIP: ClentReport – Custom AutoSearch

There are two approaches to customizing autosearch when using the ClientReport component.

  1. Customize the built-in autosearch dialog in the same manner as applies to a standard TppReport (see RBuilder\Demos\AutoSearch\Custom AutoSearch Dialog).
  2. Use the ClientReport.OnReceiveAutoSearchFieldsEvent. This event fires when the client report receives autosearch fields from the server. In the event-handler, you can programmatically set the search values. You can optionally set ShowAutoSearchDialog to False to suppress the autosearch dialog and then call PrintToDevices to send the autosearch values to the server.