Update subpage though the main page

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.

CurrPage.SalesLines.PAGE.SETTABLEVIEW

Like NAV 6.0 you can access subpage property.

Please check

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

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.