Versions Compared

Key

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

...


Usage: 

All you need to do is to specify NATIVE_DOCX or NATIVE_FDOCX. This is a pure VFP implementation so no other setup is needed, except MD5.FLL library MD5.FLL, which is a free library implementing the MD5 algorithm. MD5.FLL was written by Duke Lotherington, Visual Records Consulting, 3944 Murphy Canyon Rd, San Diego CA 92123, duke@visualrecords.com (http://www.leafe.com/dls/vfp
Pre VFP-9 mode:

Code Block
languagevb
titlePre-VFP 9.0 mode
linenumberstrue
loSession= xfrx("XFRX#INIT")
lnRetVal = loSession.SetParams("output.docx",,,,,,"NATIVE_FDOCX")
If lnRetVal = 0
    loSession.ProcessReport("report1")
    loSession.finalize()
Endif

 

VFP-9 mode:

Code Block
languagevb
titleVFP 9.0 mode
linenumberstrue
loxfrx = XFRX("XFRX#LISTENER")
lnRetval = loxfrx.SetParams("output.docx",,,,,,"NATIVE_FDOCX")
IF lnRetval = 0
    REPORT FORM report1 OBJECT loxfrx
endif

...