Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Updating a subform from a subform

Posted on by Microsoft Employee

On the bottom subform when I select the "register rework" button it should update the colour of the top subform line as the status will have changed.  This only seems to happen when I press f5 or re open the page. I have tried calling a function to the top subform with a CurrPage.UPDATE but this doesn't seem to work. 

My attempt is as below..

From the OnAction of "Register Rework" 


frmReworkCommentSheet.UpdatePage;
CurrPage.UPDATE(FALSE);

On the Top subform 

CurrPage.ACTIVATE(FALSE);
CurrPage.UPDATE(TRUE);
SETCURRENTKEY("No.","Document Line No.","Line No.","Label No.","Pack Qty.");

Do I need to update the main page as well? I have tried this and it didn't work either.. 

161.PNG

*This post is locked for comments

  • Verified answer
    Zaid Tariq Profile Picture
    Zaid Tariq 2,266 on at
    RE: Updating a subform from a subform

    I am not sure but i guess, Provider ID at page level can help you in this regard.

  • Zaid Tariq Profile Picture
    Zaid Tariq 2,266 on at
    RE: Updating a subform from a subform

    This feature was introduced in i guess NAV 2016 or 2017.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Updating a subform from a subform

    Hi I don't believe this is a feature of Navision 2013. 

  • Rehan Satti Profile Picture
    Rehan Satti 634 on at
    RE: Updating a subform from a subform

    Is there any link between these two sub-forms?  Have you check the UpdatePropogation property in sub-form?

    Subform.PNG

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans