Scroll

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

Namespaces:

  • WebReports.Api.Common

Code

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

Hidden Article Information

Article Author
Exago Development
created 2017-05-22 21:24:45 UTC
updated 2017-06-19 17:01:07 UTC

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