Versions Compared

Key

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

...

  • The number of records is not limited to 65K 
  • Formatting options, including dynamic formatting

Running the export

Run XFRX_CopyToXLSX or XFRX_CopyToODS procedure inside XFRX.PRG/FXP with the following parameters:

  • lcAlias - Source ALIAS (required)
  • lcFile - Output file name (required)
  • lcFCCallBack - Callback function name - please see Formatting options below (optional)
  • lcSheetName - Excel sheet name (optional)
  • llOnlyData - Export only data - no headers (optional)

 

Code Block
languagevb
titleExample
linenumberstrue
OPEN DATABASE "C:\Program Files (x86)\Microsoft Visual FoxPro 9\Samples\Northwind\Northwind"
USE "Invoices"
SET PROCEDURE TO xfrx.prg
 m.liErr=XFRX_CopyToXLSX("Invoices", "test.xlsx", , "Invoices")
IF m.liErr<>0
   ?"ERROR",m.liErr
ENDIF

 

Formatting options