I have created an event database where we record upcoming marketing events. Everything is nearly complete with that, but now they asked me to record each day that a marketing rep was scheduled to avoid them being rescheduled for another event on that same day. What I need to do is store each persons availability status on a given day, for up to a years worth of time. So if I create an event, and list a few marketers as going to that particular event, record the date\time for each person (which will flag them as unavailable on that day). I already have a table where I store each marketing rep (name, userid, email addr); would it be efficient if I created a delimited list of dates in a field on that same table? ("1/2/14,1/15/14,2/22,14,3/12/14"), the list could get fairly large. I would then read the value in VBA code, using split() then loop through each date and populate our 'available marketing rep' combobox if the selected event date is not in the list. Anyone have any ideas.
An afterthought:
In the Events table, I have a field where each attending representative is stored in a list. So now I'm thinking, is it inefficient to scan through every event (could be up to 1000) scanning through 20+ users to see if they are in an event on that given day? SELECT Events.Attendees from Events WHERE Events.EventDate = NewEvent.Date AND Events.Attendees 'doesnt contain reps name'? Sorry I'm fairly new to access, is there an InStr/StrFind function in SQL code? I could also cycle through attendees on a given date with VBA split() and do it manually, but I want this to be as efficient as possible.
In events table, attendee names are stored in a carriage-return delimited list.
Name1
Name2
Name3
Name4