Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Executed as a page closes after the OnQueryClosePage Trigger is executed.
Syntax
OnClosePage()
Applies To
- Pages
Important
The OnClosePage trigger is not fully supported by the Microsoft Dynamics NAV Web client. When the page displays in the Microsoft Dynamics NAV Web client, the trigger is only invoked when the page is hosted in a modal popup window (MPO).
Remarks
This trigger is initiated by a user action, such as when the user chooses the Close button, or by the CurrPage.CLOSE function being called.
You can write to the database from this trigger.