Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report variables
Message
From
06/05/2004 11:53:14
 
 
To
06/05/2004 11:39:51
Steven Kleypas
Tarrant County College District
Texas, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00901599
Message ID:
00901604
Views:
18
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?
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Reply
Map
View

Click here to load this message in the networking platform