I don't use DE Reports, when I have to filter, I do a filter, then, I use the cursor to report...
WITH Thisform
ldInitialDate = .txtInitalDate.Value
ldFinalDate = .txtFinalDate.Value
ENDWITH
SELECT nID, cClave, cDescription, yPrice FROM movs ;
WHERE BETWEEN(dDate,ldInitialDate, ldFinalDate) ;
INTO CURSOR cReport
IF _TALLY > 0
SELECT "cReport"
REPORT FORM myReport PREVIEW ....
ELSE
Messagebox("Nothing to report...")
ENDIF
HTH
>I have a data entry form that gets view parameters for a cursor. This form is called in the reports BeforeOpenTables event. The cursor is created from the parameters and the report runs correctly.
>I would like to put another textbox on the form to gather additional data and have that print in addition to the field values on the report. The variables are defined in the report, and are of the correct value in the Init method before printing begins, but do not appear on the printed report. Is this something that is possible, or am I going to have to embed the values in the cursor before running the report?