At 01:28 PM 5/5/2010, Jim Belisle wrote:
I am trying to trace the report.
What is the best way to trace a report?
Jim,
In your specific situation, to trace a given report, and
"any" embedded code associated with the report, you may
take advantage of "Before Generate" and "After Generate"
Action of Report itself.
Here's how:
While in Report Designer:
01. Use the following code as Before Generate EEP
Main Menu | Report | Actions | Before Generate ...
SET TRACE ON
RETURN
02. Use the following code as After Generate EEP
Main Menu | Report | Actions | After Generate ...
SET TRACE OFF
RETURN
03. Save the report
04. PRINT reportname ...
Notice the launch of TRACE and use [F10] to trace, follow
and watch everything.
Use "Watch" option to Add/Remove Watch Variables ...
05. Once the report is debugged and corrected accordingly, you
may either comment "--" both EEPs or simply clear the code.
Hope that provides you with some blue's clues ...
Very Best R:egards,
Razzak.