User Tools

Site Tools


close_close_a_file_and_any_related_files_.htm
Navigation:  ABC Library Reference > RelationManager > RelationManager Methods >====== Close (close a file and any related files) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Close( cascading ), VIRTUAL, PROC

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:     FileManager.Close

close_close_a_file_and_any_related_files_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1