Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Page is opening in View Mode?

Posted on by Microsoft Employee

Hello,

I am opening a page through code via RUNMODAL function. But the opened page is in VIEW mode and data can not be entered. I need to click the new button in the ribbon which opens a new page in New mode where data can be entered.

Anyone else encountered with this issue?

My Code:

//Couple of SETRANGES

TableRecord.SETRANGE

TableRecord.SETRANGE

PAGE.RUNMODAL(50010, TableRecord);

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Page is opening in View Mode?

    If this is a list page, ir’s Not editable by default.

    Set the EDITABLE property of the page to TRUE in object designer or via code when opening the page:

    YourPage.EDITABLE := TRUE;

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans