Results 1 to 5 of 5
  1. #1
    FJM is offline Competent Performer
    Windows 98/ME Access 2003
    Join Date
    Jun 2010
    Posts
    117

    Calendar date on a tab page

    I have created a form which has 2 tabbed pages. On page 2 I have added a Calendar control linked to 2 combo boxes (Combo91 and Combo93) which are for Start and End.
    When I click the Start combo the calendar appears (as it should) but the default date is set at Apr 30 2013. If I then choose a date from the calendar and it populates Combo91, this date then becomes the automatic date which appears on the calendar when I want to populate the End box (Combo93)
    I have already set this calendar up on a different page within the same database and it operates correctly i.e the default date is todays date.I have copied all code


    Any ideas on how to fix ?

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Set the control's default to Date()

  3. #3
    FJM is offline Competent Performer
    Windows 98/ME Access 2003
    Join Date
    Jun 2010
    Posts
    117
    This was the first thing I tried - still no good.
    Do you know if it has something to do with it being on a Tab page as the same code being used works perfectly on a number of different standard forms in the same database

  4. #4
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Most likely. Any reason why you cant simply use it on your form instead?

  5. #5
    FJM is offline Competent Performer
    Windows 98/ME Access 2003
    Join Date
    Jun 2010
    Posts
    117
    Simply for easiness sake, I would like it on the tabbed page

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

Similar Threads

  1. Replies: 28
    Last Post: 11-16-2013, 06:41 PM
  2. Replies: 1
    Last Post: 08-13-2013, 09:39 AM
  3. Date ranges using Calendar control
    By LilMissAttack in forum Forms
    Replies: 8
    Last Post: 08-25-2011, 10:04 AM
  4. Replies: 3
    Last Post: 10-12-2010, 11:15 PM
  5. Set Calendar to default to today's date
    By RickM in forum Access
    Replies: 1
    Last Post: 02-22-2009, 04:51 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