>Hi,
> I am trying to generate Invoice reports. From the foxpro samples, one way of accomplishing this is: In the reports data environment, override the BeforeOpenTables method and call the form which gets the input values for the parameterized view (based on which report is generated) and kick on the report.
>My question is, if the user clicks cancel on the input form, how can the code in BeforeOpenTables method stop the report generation process?
>
>Thanks
>Puri
Unless you absolutely need the form call to be encapsulated in the frx, break it out, and check the return value before you ever call the report. You can still assign the parameter with private variable, or have the report use a view in the default datasession.
Erik Moore
Clientelligence