CLOSE Function (Dialog)
Closes a dialog window that has been opened by OPEN Function (Dialog).
Syntax
Dialog.CLOSE
Parameters
Dialog
Type: Dialog
The Dialog variable that you are closing.
Remarks
If CLOSE is used on a dialog window that is not open, a run-time error will occur.
The dialog windows of an object are automatically closed when the object terminates.