# Hide Item blocked Page Sales Order Subform

**URL:** <https://www.dynamicsuser.net/t/hide-item-blocked-page-sales-order-subform/57044>\
**Category:** Technical Forum\
**Created:** [March 11, 2015, 9:40am UTC](https://www.dynamicsuser.net/t/hide-item-blocked-page-sales-order-subform/57044 "2015-03-11T09:40:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dinh\_Son](https://sea1.discourse-cdn.com/flex023/user_avatar/www.dynamicsuser.net/dinh_son/32/7717_2.png) [@Dinh\_Son](https://www.dynamicsuser.net/u/Dinh_Son)\
**Post date:** [March 11, 2015, 9:40am UTC](https://www.dynamicsuser.net/t/hide-item-blocked-page-sales-order-subform/57044/1 "2015-03-11T09:40:47Z")

</div>

Dear Everybody

When I do orders a lot of items blocked. I want at Page Sales Order Subform when selecting Item (No.) is not see Items blocked. I used the function in

No. - OnValidate ()

Item.SETRANGE(Blocked,FALSE);

Do not give the desired results. Please give me one solution to this problem.

Thanks very much.

Best Regards

Dinh Son

---

<div class="post-metadata">

**Author:** ![mohana\_cse06](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mohana\_cse06](https://www.dynamicsuser.net/u/mohana_cse06)\
**Post date:** [March 11, 2015, 10:48am UTC](https://www.dynamicsuser.net/t/hide-item-blocked-page-sales-order-subform/57044/2 "2015-03-11T10:48:44Z")

</div>

It wont give you desired result.

You have to change the TableRelation property of field in table.

---

<div class="post-metadata">

**Author:** ![RichardRobberse](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@RichardRobberse](https://www.dynamicsuser.net/u/RichardRobberse)\
**Post date:** [March 11, 2015, 12:05pm UTC](https://www.dynamicsuser.net/t/hide-item-blocked-page-sales-order-subform/57044/3 "2015-03-11T12:05:25Z")

</div>

Read the verified answer on this topic:  
[https://community.dynamics.com/nav/f/34/t/126763.aspx](https://community.dynamics.com/nav/f/34/t/126763.aspx)
