Page 3 of 3 FirstFirst 123
Results 31 to 34 of 34
  1. #31
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,737

    Ok, so you have something working that meets your needs. Great!

    Regarding the Holiday and the scheduling conflict:

    If the assignment/shift date is a holiday then
    replace the assignment with the word "Holiday"

  2. #32
    DJ Rhino is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2015
    Location
    Oscoda, MI
    Posts
    26
    How do I do that? I have a table that we will list the holidays that we get. I need it to auto assign the dates and or holiday.How do I go about doing that?

  3. #33
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,737
    How did you get this
    Code:
    Auditor 1 Shift 1 - 2-23-2015
     Auditor 2 Shift 1 - 2-24-2015
     Auditor 3 Shift 1 - 2-25-2015
     Auditor 4 Shift 1 - 2-26-2015
     Auditor 5 Shift 1 - 2-27-2015
    Whatever you called the Datefield, you have to Check whether or not it is your Holiday table.
    If it is NOT in your Holiday table ---all is well
    If it is in your Holiday table -- you have to change the date to "Holiday".

    If you have a query such as

    Select AuditorDate ...other fields....... from someTable
    where AuditorDate Not IN
    (Select HolidayDate from HolidayTable)

    you should not get a conflict -since only nonHolidays dates would be available.

  4. #34
    DJ Rhino is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2015
    Location
    Oscoda, MI
    Posts
    26
    Here is the code I used and it works fine, but it gives me the same date for each record. I need it to advance 1 day for each auditor. Just level 1 auditors as level 2 and 3 are done by week and I have those done right.

    Expr1: DateAdd("d",1,"02-Mar-15")

    Would I add a field to this expresion like ID????

    Also will I have to go and change that date in the code every week to get it to advance the following week?

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Using access to schedule help
    By scoobz1234 in forum Access
    Replies: 11
    Last Post: 02-23-2018, 02:05 PM
  2. Replies: 8
    Last Post: 04-17-2013, 07:36 PM
  3. Replies: 4
    Last Post: 06-04-2012, 11:09 AM
  4. Time Schedule display in access
    By snoopy2003 in forum Database Design
    Replies: 3
    Last Post: 03-23-2011, 04:41 PM
  5. Replies: 1
    Last Post: 05-02-2010, 05:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums