How to Call GENXTAB.PRGLast reviewed: April 30, 1996Article ID: Q113971 |
The information in this article applies to:
SUMMARYYou can access GENXTAB, the program that generates cross-tabulations, outside RQBE and gain more control over how the cross-tabulations are generated and how they look. GENXTAB expects only three fields in the table it is working with. If there are more than this, GENXTAB will produce an error. For information about working with a table that has more than three fields, please see the following article(s) in the Microsoft Knowledge Base:
ARTICLE-ID: Q113525 TITLE : How to Make GENXTAB.PRG Work with Any Table/.DBF MORE INFORMATIONGENXTAB.PRG has eight parameters that can be passed to it:
DO GENXTAB WITH <output_file>, [<output_type}], [<close_source>], ;
[<show_thermometer>], [<row>], [<column>], [<cell>], [<row_total>]
Parameter Explanation
Code Example
*SET DEFAULT to the TUTORIAL subdirectory or folder, then run the
*following code.
SELECT cno, idate, itotal ;
FROM invoices ;
ORDER BY cno, idate ;
GROUP BY cno, idate ;
INTO CURSOR mtest
DO sys(2004)+'GENXTAB.PRG' WITH 'xtabd', .T., .T., .F., 1, 2, 3, .T.
BROWSE
|
Additional reference words: FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |