Simplicty and flexibility!


DocumentCloseName("Full Windows Document Name i.e. Caption"
DocumentClsoeName("Customers via Orderform")
DocumentCloseName("DESIGN FORM : Customers")
retval := DocumentCloseName(data-entry fie

To close a document by "remote". Many times when you have open a form for information or run a report/procedure with output, you want that document to be closed. If focus has been returned to another document this is not always straight forward so we have added DocumentCloseName() so you can close a document from anywhere in an app.

If the document in name is already closed or does not exist no action will be taken, and no error message returned.


DocumentName : Text

This is the full name of the document you want to close. It is not necessarily the original form/report name as it can have been added to by you opening a document via another document.


String, nothing!



See Also


On the forum about DocumentCloseName

On the blog about DocumentCloseName

New Function in 8 - DocumentCloseName() - Close a named document remotely (Ver.

First new function in a while, but one of many to come.We are opening up DE8 from a programmers perspective and we want to give the programmer as much control as possible on how the application is managed and behave.All of us that has t...

Product: Dataease [{8}]FIVE. Written by DataEase 15/01/14 at 09:14:10