Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please explain this to me...
Message
 
To
16/04/1999 06:58:00
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00208908
Message ID:
00208918
Views:
19
Calvin,

You are correct in your assumption about data sessions. Objects encapsulate function and data, as such the object operates in the data session that was active when it was created.

You have a few design issues in your example;

You can pass the customer type as an argument to the method.

Why does the oApp object deal with specifics of another object anyway? Does the oApp object have any business holding a method that strictly deals with a customer? Should that functionality not be incorporated in the customer object or at least the customer form?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform