Versions Compared

Key

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

This method finishes the document generation and displays the generated document (unless the document preview was explicitly suppressed).


Code Block
Object.Finalize()

Remarks

Applies To: XFRX#INIT, XFRX#LISTENER

The Finalize() method does not have to be called in VFP 9.0, if the last REPORT FORM command doesn’t contain the NOPAGEEJECT clause.

...

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.Finalize()
ENDIF

...