Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Termination in the Data Environment.
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00115078
Message ID:
00115311
Views:
14
Jose, thanks for the tip. It worked great and it's simple. The code below illustrates what I was trying to do in the Init method in the Data Environment of a report. If the user pressed 'cancel on the date form I want to abort the report.

> do form daterange WITH .T. to llcancelled
> if llcancelled
> this.closeTables()
> return .F.
> endif
> ldCheckRecv_Date = oApp.gdFromDate
> select acct_recv_invoice_vwp
> =requery()
Michael Garcia
Previous
Reply
Map
View

Click here to load this message in the networking platform