Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Re: Report
Miscellaneous
Thread ID:
00545453
Message ID:
00545752
Views:
15
Bharat,

>I created a Report ChecNulls.frx from the Template. I created the Business object and created an environment within that. Then I right clicked the report template and go to dataenvironment properties. In the Init envent I replaced the with the name of my data environment. I want to run the report from the command button on my form. What should I write in the command button to run the report.>

Check out the code in the class CReportForm.RunReport(). This form method uses the CReportsObj class to print/preview/etc. reports. You can use similar code in your command button.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform