Unbind Method

Official Content
This documentation is valid for:
Allows leaving the document open after ending the application. 

Syntax

&DataType.Unbind()

Type Returned:
Numeric

Description

This method is useful to keep a document open after you have lost reach to the object, even after the application is finished. 
When releasing a document, the reference between the object and the open document is totally lost. Operations on the object no longer affect the document. In fact, the object behaves as if it didn't have an open document, until the Open method is called again. 
 
Note:
This method returns an error code, so it is possible to call it as a function (&Err = &DataType.Unbind()).

Scope

Extended Data Types: ExcelDocument, WordDocument
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

Open Method
ExcelDocument Data Type
WordDocument Data Type