Versions Compared

Key

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

Anchor
KB-20220529-01
KB-20220529-01
KB-20220529-01

Version

Before XFRX 22.0

Symptoms

  • XFRX#LISTENER
  • Target type is XFF.
  • Target file name is filled.
  • Target file exists and CDX file is damaged.

Cause

Weird bug in VFP. VFP dondoesn't replace the CDX file at command when calling COPY TO [file] WITH CDX.

XFRX#LISTENER for target type XFF use XFF a cursor always. XFRX#LISTENER copy copies the XFF cursor to a XFF table after processing last report. 

Workaround

Don't set value of  TargetFilename property.
Code Block
loListener = XFRX('XFRX#LISTENER')
loListener.TargetType = 'XFF'
loListener.TargetFileName = "" && "some.xff"

report form ("report") object loListener

loXFF = loListener.oXFDocument
loListener.SetParams("report.pdf", '', .T., '', .T., .F., 'PDF')
loListener.TransformReport(loXFF)