# Request Form filters

**URL:** <https://www.dynamicsuser.net/t/request-form-filters/8843>\
**Category:** Developers Forum\
**Created:** [June 22, 2004, 2:00pm UTC](https://www.dynamicsuser.net/t/request-form-filters/8843 "2004-06-22T14:00:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![afarr](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@afarr](https://www.dynamicsuser.net/u/afarr)\
**Post date:** [June 22, 2004, 2:00pm UTC](https://www.dynamicsuser.net/t/request-form-filters/8843/1 "2004-06-22T14:00:04Z")

</div>

Short version: How can I display a report filter, on the report’s request form? Long version: Users have requested that the purchase Batch Post report should post only Released P.O.'s. This is easy to do with a SETFILTER on Status, but I would also like the report request form to show “Status - Released” to make it clear that it is only processing some of the P.O.'s. Any ideas about how to do this? I achieved this once on a report when I did a SETRECFILTER - the request form displayed all primary key fields, and their values - but SETRECFILTER does not make sense for a batch posting report, and in any case Status is not in the primary key. Thanks in advance. Alastair

---

<div class="post-metadata">

**Author:** ![Steffen\_Voel](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@Steffen\_Voel](https://www.dynamicsuser.net/u/Steffen_Voel)\
**Post date:** [June 22, 2004, 3:04pm UTC](https://www.dynamicsuser.net/t/request-form-filters/8843/2 "2004-06-22T15:04:33Z")

</div>

It can’t be done from within the report. You have to call the report with code like this: `PurchaseHeader.SETRANGE(Status, PurchaseHeader.Status::Released); CLEAR(BatchPostPurchaseInvoices); BatchPostPurchaseInvoices.SETTABLEVIEW(PurchaseHeader); BatchPostPurchaseInvoices.RUNMODAL;`

---

<div class="post-metadata">

**Author:** ![afarr](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@afarr](https://www.dynamicsuser.net/u/afarr)\
**Post date:** [June 22, 2004, 3:57pm UTC](https://www.dynamicsuser.net/t/request-form-filters/8843/3 "2004-06-22T15:57:43Z")

</div>

Sv, many thanks for the detailed reply - it does what I wanted. Alastair
