C
Chris
I have a combo box form created where the user can select among several
options (employee levels or titles).
I have a table of records with a checkbox/yes/no column on whether or not it
applies to a certain employee level.
I want a query that will show all records that are checked and that apply to
that employee level.
So, If the user selects lets say "manager" from the combo box form, the
query will show all records in which that column "Applies to Manager" is
checked as a yes. If they pick a different employee level, the manager data
should not appear.
Here's the criteria I currently have in the query:
IIf([Forms]![Employee Level Form]![Level]="Manager",True)
in SQL:
SELECT Chart.[Applies to Managers], Chart.[Manager Training Level]
FROM Chart
WHERE (((Chart.[Applies to Managers])=IIf([Forms]![Employee Level
Form]![Level]="Manager",True)));
Any help is appreciated
options (employee levels or titles).
I have a table of records with a checkbox/yes/no column on whether or not it
applies to a certain employee level.
I want a query that will show all records that are checked and that apply to
that employee level.
So, If the user selects lets say "manager" from the combo box form, the
query will show all records in which that column "Applies to Manager" is
checked as a yes. If they pick a different employee level, the manager data
should not appear.
Here's the criteria I currently have in the query:
IIf([Forms]![Employee Level Form]![Level]="Manager",True)
in SQL:
SELECT Chart.[Applies to Managers], Chart.[Manager Training Level]
FROM Chart
WHERE (((Chart.[Applies to Managers])=IIf([Forms]![Employee Level
Form]![Level]="Manager",True)));
Any help is appreciated