Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
(OOP) Part Time Composite Objects?
Message
De
28/08/2003 10:20:57
 
 
À
27/08/2003 17:13:16
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00822766
Message ID:
00824177
Vues:
35
>Chris,
>
>OK, now I think I understand... or at least I think I understand why I didn't understand before... understand?

Understood. ;)


>Reason being that we would have separate methods in Enrollment, GetGPA() and GetTotalCharges() and most certainly have used GetBizObject() to obtain a reference to MyCourses and MyCharges.

It's the difference between simple, and right. You're doing right, I just want simple. Of course, simple is biting me for my efforts: If oMyCourses is never used, the ISNULL check in the Destroy *creates* it during the _access call, just so it can be destroyed. This is compounded since MyCourses has no data when newly created. Adding the Requery causes an error when trying to Requery during the Destroy. Time to go do it right.

>Yep, this is one of those times where the obviousness of the code and its extreme flexibility may be at odds. We've found that the "set it and forget it" -- with apologies to Ronco -- aspect of GetBizObject() is well worth it.

Agreed. Hmm... Maybe we need to get ol' Ron to start hawking VFP. "It slices, it dices, it collates data faster than any other database."

Chris.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform