Results 1 to 2 of 2
  1. #1
    elpidoforos is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2014
    Posts
    1

    Post How to visualise overlapping appointments

    I have a table: tbl_Appointments in which I store information about appointments.
    Fields are: ApptName, Apptlocation, ApptDate, ApptStart, ApptEnd.

    I found a Weekly calendar report made by Duane Hookom which puts all the appointments at the appropriate position on the form using details_format Event in VBA.

    Appt(.top) is defined by looking at difference between report start time and apptStart
    Appt(.left) is determined by looking at difference between report start Day and ApptDate day


    Appt(.Height) = difference between ApptStart and ApptEnd.

    I need to take this a step further because I need to allow the scheduling of multiple Appointments at the same location at the same time.
    Example 27 may 2014
    1. Kerkcafe from 08:00 to 09:00
    2. Kerkcafe from 09:00 to 14:00
    3. Kerkcafe from 10:00 to 12:00
    they all have the same name but imagine if they were completely different from each other
    Click image for larger version. 

Name:	no overlap.JPG 
Views:	16 
Size:	84.2 KB 
ID:	18256
    in this case the box 3 will overlap on box 2 on the report
    so what i'd need in this case is cut the width of both those boxes in half and have box 3 start at normal left calculation + box 2.width property

    when i have many overlapping appointments on a single day i dont have a clue where to start coding this.

    here is a picture of my report with overlapping Appointments that do not split and or move

    any help would be greatly appreciated

  2. #2
    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,870
    see this example from Baldyweb

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Splitting and Suming Overlapping Data?
    By TinyRobot in forum Queries
    Replies: 3
    Last Post: 06-17-2014, 02:23 PM
  2. Queries with Overlapping Data
    By ineedaccesshelp in forum Queries
    Replies: 1
    Last Post: 11-28-2012, 11:48 AM
  3. Overlapping Subreports
    By gopherking in forum Reports
    Replies: 3
    Last Post: 11-09-2011, 07:07 AM
  4. scheduling appointments
    By mikejames in forum Programming
    Replies: 1
    Last Post: 09-30-2011, 04:45 PM
  5. Calculating Max appointments
    By ET123 in forum Access
    Replies: 2
    Last Post: 07-24-2010, 07:32 AM

Tags for this Thread

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