# How do I filter the child records of the report Child File extension template?

**URL:** <https://forums.softvelocity.com/t/how-do-i-filter-the-child-records-of-the-report-child-file-extension-template/1549>\
**Category:** Knowledge Base\
**Tags:** templates, unverified\
**Created:** [November 9, 2026, 11:32am UTC](https://forums.softvelocity.com/t/how-do-i-filter-the-child-records-of-the-report-child-file-extension-template/1549 "2026-11-09T11:32:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzaunere](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rzaunere](https://forums.softvelocity.com/u/rzaunere)\
**Post date:** [November 9, 2026, 11:32am UTC](https://forums.softvelocity.com/t/how-do-i-filter-the-child-records-of-the-report-child-file-extension-template/1549/1 "2026-11-09T11:32:14Z")

</div>

**Applies to:** the report/process extension template "ReportChildFiles - Child file for process" found in a Clarion 5.5 install; posted in the Clarion 5.5 EE group.

**Problem**

The extension prints all child records of a parent, but not every child should print. The IDE and the template offer no obvious place for a filter.

**Solution**

1. Put the filter on the child view. In the embed for the CF1:View object, before opening the view, set PROP:Filter:

```auto
CF1:View{Prop:Filter} = 'TRN:MemberNumber = MBR:MemberNumber AND TRN:Description <<> ''Payment'''

```

1. Repeat the parent-to-child link in the filter expression (here TRN:MemberNumber = MBR:MemberNumber). Without it every parent gets all the children attached.
2. Alternative that worked for the original poster: in the TakeRecord embed, replace the generated print lines for the child level with a version that has a condition around PRINT (for example `IF ~CPT:Closed`). The generated block was kept inside an OMIT so the original stayed readable, with the new code at priority 8000.

**Caveats**

- A reply noted the template allows only one instance per procedure.
- The view filter is the shorter route; the TakeRecord route edits generated print logic and has to be kept in step.
- A reply recommended a third-party filter template; the thread did not settle whether it works with this extension.

**Today (2026)**

Likely unchanged for an app that still uses this extension. The ABC view-filter property is the same mechanism today. Not re-tested.

**Sources:** Greg B. (Jan 2003, the question), Earl C., Geoff B. (Jan 2003) in softvelocity.products.c55ee.
