Results 1 to 7 of 7
  1. #1
    Shazz's Avatar
    Shazz is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    1

    Add Events Calendar to my Dashboard Form

    Hi All,



    I am trying to create an events Database, I have created a dashboard with buttons to take you to form/Tables, but I would like to either have a monthly calendar at the bottom of the dashboard showing events for the month, which will have the data from my events table.

    Or if this is not possibly, is there a way of having the events table showing on the dashboard under the buttons in stead.

    Anyone help would be greatly appreciated.

    Shazz

  2. #2
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    I'd commend using Microsoft outlook calendar as you can easily update/manage via a DB.

    What is the purpose of the database? If you have just one table "events" access probably isn't required. Maybe you could also post a screenshot of your relationships.

    Andy.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    A calendar database is not simple to build.

    Yes, can have a subform on dashboard/menu form.

    Have you looked at MS EventManagement database template?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by June7 View Post
    A calendar database is not simple to build....
    Truer words were ever spoken! I've seen it lately, but a few years ago there was a post on one Access forum on the subject that had run to somewhere in the neighborhood of 1500 responses...and still had problems to resolve!

    This is definitely a case where you don't want to reinvent the wheel if you can find something out there that you can adapt to your use...as suggested by June7 and homegrownandy.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Having said that, I will add that it is fairly simple to build a form that looks like a calendar and sets values and visibility of 42 UNBOUND textboxes representing days of calendar.

    Code:
    Private Sub Form_Open(cancel As Integer)
    Me.FirstDate = Date
    Call filldates
    End Sub
    
    Private Sub filldates()
    Dim curday As Variant, curbox As Integer
    curday = DateSerial(Year(Me.FirstDate), Month(Me.FirstDate), 1)
    curday = DateAdd("D", 1 - Weekday(curday), curday)
    For curbox = 1 To 42
        Me("D" & curbox) = Day(curday)
        Me("D" & curbox).Visible = Month(curday) = Month(Me.FirstDate)
        curday = curday + 1
    Next curbox
    End Sub
    Now building a calendar/appointment db and feeding data to the form does get complicated. I have seen it but unfortunately didn't save it.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    moke123's Avatar
    moke123 is online now Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,654
    Heres a sample that may help get you started
    SampleCalendar.zip

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 07-04-2018, 01:52 PM
  2. Replies: 2
    Last Post: 10-28-2017, 01:37 PM
  3. Replies: 13
    Last Post: 02-25-2015, 06:34 AM
  4. Replies: 3
    Last Post: 05-24-2013, 04:39 PM
  5. Replies: 2
    Last Post: 05-23-2013, 08:29 AM

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