Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Data Environments
Message
From
12/11/2002 16:52:40
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
12/11/2002 16:38:10
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00721834
Message ID:
00721845
Views:
9
Nerissa,

Are these views updating the same table? If so, what you're proposing is considered best practice: Create a new data environment and swap the two using kBizObj.LoadDataEnvironment(). By definition, the first view added to the DE is the InitialSelectedAlias and that is the one typically considered acceptable for updating.

If the second view will be used to update a different table, my suggestion would be to use a different BizObj along with a different environment.

Hope that helps,
---J


>I need to define 2 views for my parent bizobj. However, I cannot define it as 2 data elements in one data environment because I know that the second view is for reading only and cannot be updated. I am now thinking of using two data environments instead and load them dynamically. But I just want to know if I can update the view in the second data environment.
>
>Thank you very much for any help that you can give.
>
>Nerissa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform