I'm assuming that you have a typo (extra space) in the Shift column of
several records in both of your tables (at least in the example you provided).
So, let me make sure I understand this:
1. The first table defines the positions (date/shift) you need filled.
2. The second field defines the shifts people have signed up for.
3. You want to fill all of the positions in table #1 with people from table
#2 based on your logic. What happens if there are not enough volunteers to
fill all of the positions in table #1?
I'm not sure I understand Rule #1. Do you mean that if 1/2/08 is Sunday,
John Doe is not elegible for that date?
Dale

Signature
Don''t forget to rate the post if it was helpful!
email address is invalid
Please reply to newsgroup only.
> I have one table that has a list of schedules with the following columns:
>
[quoted text clipped - 29 lines]
>
> Any help would be greatly appreciated
Michael - 18 Jan 2008 17:40 GMT
Hi Dale...
Thanks for replying...
1. If there are not enough people then the shift does not get assigned.
All we are looking for is to assign those shifts that are volunteered for.
2. If 1/2/08 is a Sunday and John Doe has Sunday listed as a DoubleDay then
John is not elegible for the shift.
All your other assumptions are accurate!
Thanks again!!
> I'm assuming that you have a typo (extra space) in the Shift column of
> several records in both of your tables (at least in the example you provided).
[quoted text clipped - 45 lines]
> >
> > Any help would be greatly appreciated