| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > ViewManager > ViewManager Methods >====== Close (close the view) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[applyrange conditionally range limit and filter the result set .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getfirstsortfield return first field of current sort .htm|{{btn_next_n.gif|Next page}}]] | | || **Close ( **<;//force//> **), VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} The **Close **method closes the managed VIEW. Normally, a VIEW is closed by the Close method, providing that it was opened with the Open method. The //force// flag is used to close a VIEW that was not originally opened by the ViewManagers's Open method. **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:     [[open open the view .htm|Open]]**