Article ID: 185865
Article Last Modified on 2/11/2005
DEFINE CLASS PrintIt AS CUSTOM OLEPUBLIC
WhichData=''
WhichReport=''
PROCEDURE PRINTOUT
Use (This.WhichData)
REPORT FORM (This.WhichReport) to Print
Use
ENDPROC
ENDDEFINE
Ox=CreateObject("TestPrint.PrintIt")
Ox.WhichData ="<Full Path of the Table associated with the report>"
Ox.WhichReport="<Full Path of the Report>"
Ox.PRINTOUT
Release OX
CREATE TABLE Test (ID c(4), NAME c(20))
INSERT INTO Test VALUES ("AAA","111")
INSERT INTO Test VALUES ("BBB","222")
INSERT INTO Test VALUES ("CCC","333")
SET SAFETY OFF
FOR i=1 TO 5000
?? i
REPORT FORM Test TO FILE Test.txt ASCII
NEXT
Additional query words: kbDSE VFP600REL
Keywords: kbbug kbfix kbprint KB185865