Filter subform with field from main form

mosh

Registered User.
Local time
Today, 20:26
Joined
Aug 22, 2005
Messages
133
I have a main form with 4 subforms. They all work off specific fields from the mainform.

One of my subforms basically looks at holidays booked for the day the employee wants to book. The only problem is It picks up days book for employees across all departments.

The subform is based on a query, how can I make the subform filter based on the department as well?

I'v tried creating a text box and using a dlookup and then adjusting the query to lookup the department from the dlookup field but this crashes the db.

Regards
________
INOCENTBLONDE
 
Last edited:
Study "LINK CHILD FIELDS" and "LINK MASTER FIELDS" properties.
 

Users who are viewing this thread

Back
Top Bottom