Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reports in MM
Message
From
26/08/2004 00:32:20
June Kendrick
Kendrick Associates, Inc.
New York, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00936337
Message ID:
00936485
Views:
22
Thanks, I'll give it a shot.

June

>June,
>
>The section they are referring to would be the business object section (see pages 87-88).
>
>To set up a data environment for a report do the following:
>1.) Create a view for the report.
>2.) Create a data environment class for the view created in step 1. What I do is first open the aBizObj class (this got created in Quick Start) and then open the builder for this business object class. Then I click on the Create a New Data Environment button. Now select the 'reportenvironment' base class created during 'Quick Start', name the environment, add the view to the environment and save the data environment. When you close the business object, do not save it since the data environment you just created will be attached to the aBizObj class and this is not necessary.
>
>That's it. Now use this dataenvironment class in your Init section of your report dataenvironment to create this object in the report (see page 405 in the user's guide).
>
>HTH
>
>>I've gotten to the point that I want to add a report to my app, and find I have some questions that the docs and sample app don't make clear.
>>
>>The Dev Guide says to create a data environment for the report based on the project's Report Data Environment base class, and to "see the section on creating Data Environments for details". Which section would this be? I don't see anything that looks appropriate.
>>
>>I tried sub-classing the app's Report Data Environment, but that has no builder to help. When I look at the ProjMgr sample app, I see its data environment has a dynamic view cursor, but just subclassing the report data environment doesn't create one. The Dev Guide isn't any help on what needs to be done.
>>
>>What do I need to do to get a report set up in Mere Mortals? Is there a cook book somewhere?
>>
>>Thanks,
>>
>>June Kendrick
Previous
Reply
Map
View

Click here to load this message in the networking platform