Filter a subform?

Filter a subform?

Is there a way to filter a subform.  Perhaps

if row.field = "Inactive"
{
   hide row
}