web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

AL extension: Calling CurrPage.Close() doesn't work the same as clicking Close button

(0) ShareShare
ReportReport
Posted on by 150

When clicking the Close button on a form, it saves anything that has been changed on the forum and calls a OnQueryClosePage trigger.

I'm trying to use CurrPage.Close() with another button so the user doesn't have to also click Close when they're done. However, a field is not being saved unless they have previously used the enter key or clicked into another field. It also does not reach my OnQueryClosePage query.

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans