G
Guest
My Access 2002 database lists everyone in an organization that has different
types of transportation passes. Wanting to keep a record of all employees
who's ever had a pass (even if they don't have one anymore), I included the
column "MonthCanceled". I'm trying to generate a list of employees who are
in the same department who are supposed to be receiving any type of pass.
So, when I run a query, I want to list all records of employees who...
1) are in the Same Department (Marketing - Product A, Marketing - Product
B, etc.),
2) has "N/A" OR a blank in the field "Pass #"
3) has a "No" in "XYZ" field AND
4) Has no data in the "MonthCanceled" field
So, what I did (in Design View, using the same table) is the following:
1) Field: LastName
Sort: Ascending
2) Field: FirstName
3) Field: Departmet
Like "Marketing*"
4) Field: PassType
5) Field: Pass #
Criteria: "N/A"
or: Is Null
6) Field: XYZ
Criteria: No
7) Field: MonthCanceled
Criteria: Is Null
All criteria entered are listed in the same row. But the employees that
have data in the MonthCanceled column are still showing up. How do I make
them not show up in the query result?
types of transportation passes. Wanting to keep a record of all employees
who's ever had a pass (even if they don't have one anymore), I included the
column "MonthCanceled". I'm trying to generate a list of employees who are
in the same department who are supposed to be receiving any type of pass.
So, when I run a query, I want to list all records of employees who...
1) are in the Same Department (Marketing - Product A, Marketing - Product
B, etc.),
2) has "N/A" OR a blank in the field "Pass #"
3) has a "No" in "XYZ" field AND
4) Has no data in the "MonthCanceled" field
So, what I did (in Design View, using the same table) is the following:
1) Field: LastName
Sort: Ascending
2) Field: FirstName
3) Field: Departmet
Like "Marketing*"
4) Field: PassType
5) Field: Pass #
Criteria: "N/A"
or: Is Null
6) Field: XYZ
Criteria: No
7) Field: MonthCanceled
Criteria: Is Null
All criteria entered are listed in the same row. But the employees that
have data in the MonthCanceled column are still showing up. How do I make
them not show up in the query result?