| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > RelationManager > RelationManager Methods >====== Close (close a file and any related files) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[cancelautoinc undo autoincrement .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[delete delete record subject to referential constraints .htm|{{btn_next_n.gif|Next page}}]] | | || **Close( **//cascading//** ), VIRTUAL, PROC** {{blk2blue.jpg|blk2blue.jpg}} | **Close** | Closes this object's primary file (see //Me//) and any related files. | | //cascading// | A numeric constant, variable, EQUATE, or expression that indicates whether this method was called by itself (recursive). A value of zero (0) indicates a non-recursive call; a value of one (1) indicates a recursive call. This allows the method to stop when it has processed all the related files in a circular relationship. If omitted, //cascading //defaults to zero (0). You should //always //omit this parameter when calling the Close method from your program. | The **Close **method closes this object's primary file (see //Me//) if no other procedure needs it, and any related files, and returns a value indicating its success or failure. **Implementation:** The Close method uses the FileManager.Close method to close each file. The Close method returns the FileManager.Close method's return value. See //File Manager Class //for more information. **Return Data Type:**     BYTE **Example:** ** Relate:Customer.Open      !open Customer and related files** ** !program code             !process the files** ** Relate:Customer.Close     !close Customer and related files** **See Also:**     [[close close the file .htm|FileManager.Close]]