I
Iram
Hello.
I have a query with the following fields...
Team
WorkerID
MonitoredByTeamMembers
In the table both "Team" and "WorkerID" are text fields.
"MonitoredByTeamMembers" is a Yes/No checkbox field.
I need to write a query that will pull two records.
I want it to pull up the record that has my "WorkerID" in the "WorkerID"
field (easy enough I just put my workerID in the criteria)
And the other record needs to be a record that has the same "Team" as mine,
and the "MonitoredByTeamMembers" field has to have -1 (which means Yes in the
table). I know that this would go into the Or area but I don't know what to
put where. I need this to be dynamic in case I change my "Team" name. How do
I get the query to see what team I belong to to make it part of the criteria?
Can you help me with this logic?
You guys are awesome!
Iram/mcp
I have a query with the following fields...
Team
WorkerID
MonitoredByTeamMembers
In the table both "Team" and "WorkerID" are text fields.
"MonitoredByTeamMembers" is a Yes/No checkbox field.
I need to write a query that will pull two records.
I want it to pull up the record that has my "WorkerID" in the "WorkerID"
field (easy enough I just put my workerID in the criteria)
And the other record needs to be a record that has the same "Team" as mine,
and the "MonitoredByTeamMembers" field has to have -1 (which means Yes in the
table). I know that this would go into the Or area but I don't know what to
put where. I need this to be dynamic in case I change my "Team" name. How do
I get the query to see what team I belong to to make it part of the criteria?
Can you help me with this logic?
You guys are awesome!
Iram/mcp