Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Data Environments
Message
De
12/11/2002 16:52:40
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
12/11/2002 16:38:10
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00721834
Message ID:
00721845
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform