Server Event: Show report SQL as user message

It may be useful for debugging or informational purposes to show what SQL is being used for report executions, as they are run. This can be done automatically with a server event.

Note. This event halts report execution. This is for demonstrative purposes only.

Global Event: OnExecuteSQLStatementConstructed


  • WebReports.Api.Common


throw new WrUserMessage(args[0].ToString(), WrUserMessageType.Text);

Hidden Article Information

Article Author
Exago Development
created 2017-05-22 21:24:45 UTC
updated 2019-05-16 20:30:43 UTC

debug, SAE, SQL, message, server event, events, example,
Have more questions? Submit a request