Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best approach for generating reports?
Message
From
29/09/1998 14:01:44
 
 
To
29/09/1998 13:04:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00142011
Message ID:
00142041
Views:
31
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform