Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Open Tables
Message
 
À
30/10/2002 10:41:03
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00716890
Message ID:
00716901
Vues:
21
>There's a property in the data environment called "Auto Open Tables", accessible through the business object builder. If I unselect this, how can I open the associated view at a later time.
>
>My reasons for asking are related to my earlier post on instantiating forms. It turns out that I'm loading a view which opens a very large table, but I only need the view in the corresponding rules object. If I can delay opening the view till it is needed, then I can improve the perceived performance of the form.
>
>Perhaps there's another way to do this same type of thing? Any thoughts are appreciated.
>
>There is very little documentation on the purpose of this property, and nothing in the UT archives.
>
>Thanks,
>
>David

I can think of two ways to open the table if Auto Open Tables is unchecked (I'm sure there are others):
1. 
   USE myTable IN 0 AGAIN 
2. 
   loDataEnv = ThisForm.oBizObj.GetDataEnvironment()
   loDataEnv.ov_myView.OpenTable()
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform