Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a copy of the existing class
Message
 
 
To
10/03/2005 17:02:52
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00994181
Message ID:
00994684
Views:
16
Jason,

Thanks a lot. I was thinking what is the best way of these objects to interact. If I use form, it would be simple, but I'm writing this for COM object. I haven't yet looked into Event class, I have some doubts...

>Nadya,
>
>It's not the only way, but I think it's the best way... for parent and child to use separate business objects. And yes, the save only works on InitialSelectedAlias.
>
>It may sound kludge-y at first, but each object is really designed to work with one back-end table... essentially a one-to-one relationship in that sense. And it should make sense. Each has its own data environment, rules object, etc. IOW, you can force the "square peg" into the "round hole" but I wouldn't suggest it... unless you're really into head beating.
>
>---J
>
>
><snip>
>
>>But since I got your attention, may I ask you another question?
>>
>>If I want to update two views, is it the only way to create two biz objects (parent and child)? The Save method doesn't work for every view in DE, it works with Initially Selected Alias, right? Or does it loop through all views in DE as ComCodeBook does?
>>
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform