Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many bizobjs is too many bizobjs?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00394655
Message ID:
00394673
Vues:
11
Hi Alex,

One thing that I like to do, is load lookup tables with other biz obj's. Be careful which biz obj you place them in. For example, if you ever need to reuse one of those biz obj's, it would be nice if the biz obj also loaded it's supporting lookup tables. Conversely, if you need to reuse a biz obj, but don't need one of those lookup tables, it shouldn't be getting loaded with that biz obj.

HTH

>Hi,
>
>I have a form that so far has 10 bizobjs on it and I'm about to add another one.
>
>6 of these bizobjs are updateable and the other 4 are used to populate comboboxes and do a lookup based on the info in one of the controls.
>
>Background:
>
>This is for a form where the user enters medical record requests made by attorneys:
>
>Updateable bizobjs:
>list_requests_bizobj - This is where I add new requests. It contains all the requests made by a single attorney for a particular case.
>
>Treatment_dates_bizobj - Is a child of the above, lists the specific treatment dates the attorney's interested in.
>
>Money_bizobj - (child of list_requests_bizobj) all the costs that a given request involves.
>
>Pending_coversheets - whenever a new request is entered, a record is added to this list so that when a user is done he can print a bunch of summary sheets for the requests he just entered.
>
>Pending_provider_letters - simmilar to above but lists what letters are pending to be printed to be sent to hospitals/doctors for the requests just entered.
>
>The other bizobjs, as I said, populate comboboxes.
>
>Now I'm about to add another bizobj which will contain a list of defendants in the lawsuit the current request belongs to in order to make sure that I'm not about to send a letter to one of the doctors being sued (malpractice lawsuits tend to sue the dr's, hosp, nurse, the mother, the dog, etc. - the one with the worst lawyer pays) ;-)
>
>This is working OK, but that doesn't necessarily mean that the way I'm doing it is the best way and today as I started "counting" my bizobjs I kinda got nervous about how many of them I'm using concurrently.
>
>Lesson: Never count your bizobjs before the form is ready ;-)
>
>Thanks for all your help!
>
>Alex

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform