>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()