Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
XFRX#INIT::UnregisterAllScripts()

If multiple reports are merged together and you would like to apply scripts on a certain report but not on subsequent ones, call this method to remove all scripts registrations.

This method does not need to be called at the end of the reports processing.

Examples

Code Block
LOCAL m.lnErr
m.loXFRX=EVALUATE([xfrx("XFRX#INIT")])
m.lnErr=m.loXFRX.SetParams(,,,,.T.,,"XFF")
IF m.lnErr<>0
   =m.loXFRX.RegisterScript("c:\temp\my.log")
ENDIF

...