K
Kicker
Guest
I would appreciate a couple of different ideas if I could get them. Let me give a basic description...
I have a table called People. 5 of the fields are yes/no logical fields that indicate whether the person is qualified in different areas (ie., Qual1, Qual2, Qual3, etc.) Another field is WorkGroup which indicates which days the person has off. I have another table that contains all of the "scheduled" days off such as holidays, vacations, training, etc. Therefore, I can create a query and get a list of everyone available to work on a specific date.
I have another table called WorkAssignments. This tabe contains a list of job assignments needing to be accomplished during each day. In addition, each assignment has a column indicating the specific qualification for the assignment (ie., Qual1, Qual2....). Most of the assignments are generic which everyone is qualified for.
My problem is "removing" a person from list of available people when they are assigned to a job. lets say I have 100 people. for assignments 1 - 5 I have 15 people qualified and would use the top 5. I need the 5 removed from the list and the balance available for other assignments.
I thought about creating an array with a qual element and an assigned element. If I do that, can I dynamically remove or filter, or something the array to only make certain people available?
thanks in advance for your ideas
ttfn
Kicker
I have a table called People. 5 of the fields are yes/no logical fields that indicate whether the person is qualified in different areas (ie., Qual1, Qual2, Qual3, etc.) Another field is WorkGroup which indicates which days the person has off. I have another table that contains all of the "scheduled" days off such as holidays, vacations, training, etc. Therefore, I can create a query and get a list of everyone available to work on a specific date.
I have another table called WorkAssignments. This tabe contains a list of job assignments needing to be accomplished during each day. In addition, each assignment has a column indicating the specific qualification for the assignment (ie., Qual1, Qual2....). Most of the assignments are generic which everyone is qualified for.
My problem is "removing" a person from list of available people when they are assigned to a job. lets say I have 100 people. for assignments 1 - 5 I have 15 people qualified and would use the top 5. I need the 5 removed from the list and the balance available for other assignments.
I thought about creating an array with a qual element and an assigned element. If I do that, can I dynamically remove or filter, or something the array to only make certain people available?
thanks in advance for your ideas
ttfn
Kicker