User Tools

Site Tools


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

Open( **cascading ), VIRTUAL, PROC**

blk2blue.jpg

Open Opens this object's primary file (see Me) and any related files as directed.
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; 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 Open method from your program.

The **Open **method Opens this object's primary file (see Me) and any related files, and returns a value indicating its success or failure.

Implementation:

The Open method uses the FileManager.Open method to Open each file. The Open method returns the FileManager.Open 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.Open

open_open_a_file_and_any_related_files_.htm.txt · Last modified: by 127.0.0.1