[SOLVED] possible to display generated SQL in footer of report?
Hi All
I know that I can show SQL with
SET TRACEUSER = ON SET TRACEOFF = ALL SET TRACEON = SQLAGGR//CLIENT SET TRACEON = STMTRACE//CLIENT SET TRACEON = STMTRACE/2/CLIENT
HTML output and then view source and I see the SQL...
but here is my question.... how can I capture the SQL and display it nicely in a page myself. I mean is there a way to save the SQL somewhere in APP PATH or anywhere else... and then TABLE FILE it so I can display it nicely in a footer underneath the report? Is it in a trc file somewhere that I can read?
Thanks and Happy Holidays!
JodyeThis message has been edited. Last edited by: jodye,
WF 8.0.0.5M
December 24, 2009, 03:09 PM
Dan Satchell
See this post for the method to write the SQL trace to a file. Then you can create a master to read it.