Closes the currently active window or any other window by name.
•Current Window closes the active window.
•Window Name specifies which window you want FileMaker Pro Advanced to close.
•Current file only restricts matches to the current file (not selecting this option matches all available FileMaker Pro Advanced files).
Product | Supported |
FileMaker Pro Advanced | Yes |
FileMaker Go | Yes |
FileMaker WebDirect | Yes |
FileMaker Server | Yes |
FileMaker Cloud | Yes |
FileMaker Data API | Yes |
Custom Web Publishing | Yes |
Runtime solution | Yes |
FileMaker Pro 6.0 or earlier
Closing the last window of a file closes the file and halts execution of the current script. Additionally, in Windows, FileMaker Pro Advanced exits when no other windows are open or hidden. In FileMaker WebDirect, closing the last window logs out of the current web session.
Goes to a related record in the Invoices table using the Print Invoices layout, prints, and closes the window.
Go to Related Record [Show only related records; From table: "Invoices"; Using layout: "Print Invoices"; New Window]
Print [Restore: Printer; With dialog: Off]
Close Window [Current Window]
Closes the current window if it is hidden.
If [Get ( WindowVisible ) = 0]
Close Window [Current Window]
End If
Closes the Invoice Details window if it is open.
If [PatternCount ( WindowNames ( Get ( FileName ) ) ; "Invoice Details" )]
Close Window [Name: "Invoice Details"]
End If