Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business object as member object
Message
From
03/04/2003 21:45:44
 
 
To
31/03/2003 18:42:28
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00772133
Message ID:
00773864
Views:
14
Hi Barry,

In Scenario 1 (instantiating in Load event), the tables were already opened before the grid was instantiated. Remember, the Load event occurs before instantiation of the objects contained in the form. Hence, the grid can already get hold of its data.

In Scenario 2 (dropping BO in form), the grid was instantiated before BO was, thus leaving grid with nowhere to find its data source.

HTH,

Dennis


>Hi Chris;
>
>Thanks for the interest in my dilema.
>
>My BO (pun intended) creates a private datasession, opens 5 tables, sets some relationships, and updates several BO properties (some are arrays), closes the tables and finally sets the datasession back to the one that invoked the process.
>
>True is returned, indicating that the process completed successfully.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform