[Solved] Add criteria to subform

Creating and using forms
Post Reply
dgsarnow
Posts: 35
Joined: Fri May 02, 2008 6:20 pm

[Solved] Add criteria to subform

Post by dgsarnow »

I have two tables, staff table and a task table. I have created a staff with a task subform. I want to set the subform to only show tasks that have a certain status. I can do a filter on a single option, but how do I add more than one? Can you have more than one criteria in a form filter?

Cheers,

Dave
Last edited by dgsarnow on Thu Aug 20, 2009 4:58 pm, edited 1 time in total.
OpenOffice 3.1 | Ubuntu 9.04
User avatar
DrewJensen
Volunteer
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Add criteria to subform

Post by DrewJensen »

Sorry for being so late on this.

The simple answer is yes.

Use the Form based filter function. This lets you enter data in as many of the fields as you like. They all form an AND condition and must therefor all be true

On your form the Form Baed Filter function ( tool button ) is found on the Data Navigation tool bar, normally found at the bottom of the form. It is the button second from the right.
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
Post Reply