Official Content

Leaves a document open, after ending the application. 

Syntax

&DataType.Unbind()

Type Returned:
Numeric

Scope

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

Description

This method is useful to keep a document open after you have lost reach of 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()).

See Also

Open Method
ExcelDocument Data Type
WordDocument Data Type






Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant