Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about Business Objects (Business Services)
Message
De
02/05/2001 17:15:02
 
 
À
06/04/2001 17:12:42
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00492082
Message ID:
00502779
Vues:
16
>>>>James,
>>>> Sorry to be dense here, one business object can contain MULTIPLE views?? I see.. What I had envsioned here was since there are many forms in the existing system, most are for generating reports, that when they are removed and have their functionality moved to the menu, there would be a handful of data entry forms.
>>>>
>>>>One business object would be for the data entry views to handle data, and now I see one business object for the lookups..
>>>>
>>>>
>>>>Does that sound right?
>>>>
>>>>My manager does have the experience, in Foxpro for Dos and Windows.. He is a sharp guy, but he does so much in theory that he is not seeing the reality of the tools we have..
>>>>
>>>>Thanks!
>>>>
>>>>Tony Miller
>>>>Seattle City Light
>>>
>>>Tony,
>>>
>>>That is feasable... Remember, the general rule is if a view is going to be updated it should get its own business object. If the business object is going to need other views for looking up info (cursors that are intrinsic to the business logic) then include those as well. If you just need a bunch of views for creating reports, use a delogical object. That way you don't incurr the overhead of a full business object.
>>
>>James,
>> I thought reports use their own business objects??
>>
>>I have a l ot of reading to do on this now, since my boss does not want to redo alot of code when moving our applications to MM.. I have tried explaining that it will involve massive code changes and he is not getting it..
>
>Reports do not need their own business objects. Mere Mortals has an option for creating a dataenvironment specifically for a report, but I have found that I need to do a lot of data munging before running a report. For that purpose, I use the delogical to load whatever cursors I need, and create custom methods for creating the reports. There are a number of approaches. I suggest you read the Developer's Guide.


James,
I scoured through the manual and found little information for building data enviroments for reports..

Could I ask you how you handle reports in the framework? I mean in more detail, since I know we will have to do some mundging of data to create the reports that people want..

A simple data enivioment might noot suffice, since some reports are built using a few pages of SQL Selects!!

Thanks!

Tony Miller
Seattle City Light
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform