WayneBecker
Programmer
Is there any way to have an expression greated than the "Print When" or "Expression" windows when using the Reports Generator? Thanks...........Wayne
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DEFINE CLASS myfunction AS custom
Name = "myfunction"
PROCEDURE checkprintwhen
SELECT Expenses_2.inv_no, Expenses_2.date, Expenses_2.unit_no,;
Expenses_2.type, Expenses_2.cost;
FROM maintenance!expenses_2;
WHERE Expenses_2.date BETWEEN dat1 AND dat2;
ORDER BY Expenses_2.date;
INTO TABLE "c:\maintenance\tempdata\cost summary.dbf"
INDE ON UNIT_NO+DTOS(DATE) TAG WIZARD_1
INDE ON UNIT_NO TAG WIZARD_2
count to nRec
IF nRec = 0
RETURN .f.
ELSE
RETURN .T.
ENDIF
ENDPROC
ENDDEFINE