The OnFilterSqlStatementConstructed Event occurs just before SQL is sent to the Data Source to retrieve data to populate a filter dropdown. This Event could be used to inspect, log or modify the SQL that is being used to populate the dropdown.
For custom code the arguments array is structured as follows:
- a string representing the filter SQL
For .NET Assemblies the method signature is as follows:
string EventHandlerName(SessionInfo sessionInfo, string filtersSql, SqlObject sqlObject)
The OnFilterSqlStatementConstructed Event expects a string value to be returned.
This Event will provide the SQL for the Filter Dropdown Object if that feature is being utilized. See Data Objects for more information on Filter Dropdown Objects.