Navigation: ABC Library Reference > ViewManager > ViewManager Methods >====== Open (open the view) ====== | |
Open, VIRTUAL
The Open method opens the managed VIEW.
Implementation:
The Open method opens the view and applies the active sort order and filter with the ApplyOrder and ApplyFilter methods. The Open method applies the buffering specified by the PagesAhead, PagesBehind, PageSize, and TimeOut properties. It also sets the private Opened property to TRUE if the View was opened with no errors.
Example:
MyView.AddSortOrder(ORD:ByCustomer) !sort by customer no
MyView.AddRange(ORD:CustNo,Relate:Orders,Relate:Customer) !range limit by parent file
MyView.Open !open the view
!program code
MyView.Close !close the view
See Also: ApplyFilter, ApplyOrder, PagesAhead, PagesBehind, PageSize, TimeOut