Ok this is harder than i thought, unless im missing something
I have a table; that tabe contains records relating to Changes. Each change contains an Initiator (change table) Tasks (taks table) and Impacts (Impact table)
Im currently building a search form that will filter out only the changes in the Change table that have the current user as either the Initiator, or have a Task or Impact assigned to them (each of these records has a Who field)
Can somebody please prod me in the right direction..
I can see how to build a list of all hits, but that would give me a list of changes, tasks and impacts.. I only want the Changes that have say a Task with the current user assigned to it.
An exampe:
Current User
-Tim Tam
Change 32 - record in Change Table
-Initiator Joe Blogs
-Tasks 1, 4, 12
-Impacts 44, 3, 78
Change 205- record in Change Table
-Initiator Sam Jones
-Tasks 7, 2, 222
-Impacts 1, 65, 55
Task 1 - record in Task Table
-Who Tim Tam
Impacts 65 - record in Impacts Table
-Who Tim Tam
So in the above basic example, my search form would display Change 32 and 205 since it picked up that the Curret User had a Task and and Impact assigned to them.
hope i made it clear..
Thanks
I have a table; that tabe contains records relating to Changes. Each change contains an Initiator (change table) Tasks (taks table) and Impacts (Impact table)
Im currently building a search form that will filter out only the changes in the Change table that have the current user as either the Initiator, or have a Task or Impact assigned to them (each of these records has a Who field)
Can somebody please prod me in the right direction..
I can see how to build a list of all hits, but that would give me a list of changes, tasks and impacts.. I only want the Changes that have say a Task with the current user assigned to it.
An exampe:
Current User
-Tim Tam
Change 32 - record in Change Table
-Initiator Joe Blogs
-Tasks 1, 4, 12
-Impacts 44, 3, 78
Change 205- record in Change Table
-Initiator Sam Jones
-Tasks 7, 2, 222
-Impacts 1, 65, 55
Task 1 - record in Task Table
-Who Tim Tam
Impacts 65 - record in Impacts Table
-Who Tim Tam
So in the above basic example, my search form would display Change 32 and 205 since it picked up that the Curret User had a Task and and Impact assigned to them.
hope i made it clear..
Thanks