Description: Runs when the user presses the DBGrid Search button.
Execution: The Search button is shown only when a valid OnSearchButtonClick formula is configured. Pressing it runs the formula on desktop and web. The button does not have a separate default search action.
Arguments: No event-specific argument is declared. The current source uses different formula execution paths, so scripts should not rely on a single additional argument set for this event.
Result: Any value assigned to Result has no effect. Use the formula to implement the required custom search or related action.
Availability: DBForm DBGrid component on desktop and web.
Example:
ShowMessage("Run the custom search action");