Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Posts
    18

    Question Unanswered: Calendar Issue in Form

    I have a Calendar Control on a form and I can't get it display the current month on the load.

    It keeps coming up June 2007. When I go into the calendar properties I try to change the value to =Now() and that works but then it does not allow me to change the date on the calendar to pull my reports.

    How do I set up the calendar to display the current system date?????

    Help Please....

    Thanks

  2. #2
    Join Date
    May 2005
    Posts
    1,191
    Check out my post in the code bank, see if it helps, ask more questions if you need after that.
    Me.Geek = True

  3. #3
    Join Date
    May 2005
    Posts
    1,191
    Else, check out Martin Green's site.
    Me.Geek = True

  4. #4
    Join Date
    Jun 2007
    Posts
    18
    nckdryr,

    Thank you for the help. That was a help. I did use this though in my forms on load event.

    Me!calStart.Month = Month(Date)
    Me!calStart.Year = Year(Date)
    Me!calStart.Day = Day(Date)
    Me!calEnd.Month = Month(Date)
    Me!calEnd.Year = Year(Date)
    Me!calEnd.Day = Day(Date)

    But I did download what you had as it is much nicer to have hide the entire calendar.

  5. #5
    Join Date
    May 2005
    Posts
    1,191
    I think you should be able to simply do a
    Me!calStart.Value = Date
    Me!calEnd.Value = Date
    If you wanted to initialize them. But the one I posted in the code bank should default to today's date.

    Glad I could help
    Me.Geek = True

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •