# Update subpage though the main page

**URL:** <https://www.dynamicsuser.net/t/update-subpage-though-the-main-page/53412>\
**Category:** Developers Forum\
**Created:** [June 19, 2014, 12:01pm UTC](https://www.dynamicsuser.net/t/update-subpage-though-the-main-page/53412 "2014-06-19T12:01:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanz86](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@hanz86](https://www.dynamicsuser.net/u/hanz86)\
**Post date:** [June 19, 2014, 12:01pm UTC](https://www.dynamicsuser.net/t/update-subpage-though-the-main-page/53412/1 "2014-06-19T12:01:43Z")

</div>

Hi there,

I want to update subform through the main form. I added a current key to the subform record and then want to update subform view. In MS Dynamics NAV 6.0 we used following code to update subform,

CurrForm..FORM.SETTABLEVIEW()

But in MS Dynamics NAV 2013 R2 we cannot access subpage properties in same way in previouse coding. Is there anyone who knows how to update subpage control in MS Dynamics NAV 2013 R2.

---

<div class="post-metadata">

**Author:** ![PramodDonvdekar](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@PramodDonvdekar](https://www.dynamicsuser.net/u/PramodDonvdekar)\
**Post date:** [June 24, 2014, 6:39am UTC](https://www.dynamicsuser.net/t/update-subpage-though-the-main-page/53412/2 "2014-06-24T06:39:00Z")

</div>

CurrPage.SalesLines.PAGE.SETTABLEVIEW

Like NAV 6.0 you can access subpage property.

Please check

CurrPage +\> SalesLines. =\> PAGE. =\> SETTABLEVIEW

---

<div class="post-metadata">

**Author:** ![hanz86](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@hanz86](https://www.dynamicsuser.net/u/hanz86)\
**Post date:** [June 24, 2014, 10:35am UTC](https://www.dynamicsuser.net/t/update-subpage-though-the-main-page/53412/3 "2014-06-24T10:35:20Z")

</div>

Hi Pramod,

Thank you for your information. It was very usefull. Inorder to access subpage properties, we have to give seperate name for the part. Then only we can access subpage properties. otherwise it doesnt show.
