Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
(OOP) Part Time Composite Objects?
Message
From
28/08/2003 10:20:57
 
 
To
27/08/2003 17:13:16
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00822766
Message ID:
00824177
Views:
34
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform