>>* >>* Parm1 - output file/cursor name (default "xtab.dbf") >>* Parm2 - cursor only (default .F.) >>* Parm3 - close input table after (default .T.) >>* Parm4 - show thermometer (default .T.) >>* Parm5 - row field (default 1) >>* Parm6 - column field (default 2) >>* Parm7 - data field (default 3) >>* Parm8 - total rows (default .F.) >>* Parm9 - totaling options (0-sum, 1-count, 2-% of total) >>* Parm10 - display Null values >>* >>* Calling example: >>* >>* oNewXtab=CREATE('genxtab','query',.T.,.T.,.T.,1,6,10,.T.,0) >>* oNewXtab.MakeXtab() >> >>>>
>>*********************************************************************** >>*!* cOutFile = "xtabquery" && The name of the output file >>*!* lCursorOnly = .F. && Specifies whether the input datasource is cursor >>*!* lCloseTable = .T. && Specifies whether to close the source datasource after the cross tab is generated >>*!* nPageField = 0 && Specifies the field position in the datasource of the cross tab pages >>*!* nRowField = 1 && Specifies the field position in the datasource of the cross tab rows >>*!* nColField = 2 && Specifies the field position in the datasource of the cross tab columns >>*!* nDataField = 3 && Specifies the field position in the datasource of the cross tab data >>*!* lTotalRows = .F. && Specifies whether to total rows in the cross tab output >>*!* lDisplayNulls = .F. && Specifies whether to display null values in the cross tab output >>*!* lBrowseAfter = .F. && Specifies whether to open a Browse window on the cross tab output >> >>>>