Finalize Method

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


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

LOCAL m.lnErr
m.loXFRX=EVALUATE([xfrx("XFRX#INIT")])
m.lnErr=m.loXFRX.SetParams(,,,,.T.,,"XFF")
IF m.lnErr=0
   ?m.loXFRX.Finalize()
ENDIF