ActiveField Technology Objects Overview Hierarchy Chart How to Start: Application Object How to work with Problems How to work with Model How to work with Data How to Analyze Results

Close Method

Summary

Closes an open window.

Syntax

Object.Close (
  [saveChanged As Boolean],
  [fileName As String] )
Documents.Close

Parameters

saveChanged
[in] Boolean
fileName
[in] String

Remarks

When the Close method applied to the Window object (or it derivatives) and there is another window(s) displaying the same document, all input parameters will be ignored.

Otherwise, if the saveChanged parameter is True, the corresponding document will be saved. If omitted, the saveChanged parameter assumed to be FALSE.

You can provide the file name for saving document as a fileName parameter. If the fileName is omitted, the document will be saved under its current name. If the last is still not specified, QuickField provides a dialog box asking the name and location of the file.