The OnFilterSqlStatementConstructed Event occurs just before SQL is sent to the Data Source to retrieve data to populate the filter dropdown menu of Exago. This Event could be used to inspect, log or modify the SQL that is being used to populate the filter dropdown menu.
Signature
For custom code the args array is structured as follows:
args[] contains a string representing the filter SQL in position zero.
For .NET Assmblies the method signature is as follows:
string EventHandlerName(SessionInfo sessionInfo, string filtersSql, SqlObject sqlObject)
Expected Return
The OnFilterSqlStatementConstructed Event expects a string value to be returned.
Note
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.