Results 1 to 4 of 4
  1. #1
    Richie27 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Location
    Ireland
    Posts
    159

    Access 2007 database migrated to SQL Sever 2008 - Pop up calendar problem

    Hi all,



    I have migrated an access 2007 database to sql server and have a small problem with the date field. Well, two small problems.

    After migration Access displays the date like this: 1994-12-10 00:00:00 and I want it to display like this 10-12-1994.

    The second problem is that the pop up calendar feature doesn't work anymore and I'd really like it to for usability and what not.

    If anyone has any brain waves I would be eternally grateful.

    Thanks,
    Rich.

  2. #2
    Richie27 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Location
    Ireland
    Posts
    159
    Well,

    I have since found this http://www.access-programmers.co.uk/...d.php?t=213963 and it works pretty nicely for storing and formatting the dates.

    The only thing is - when you close the form and reopen it the dates are again like this: 1994-12-10 00:00:00.

    Would there be a way to format the dates as was mentioned in my former post?

  3. #3
    Richie27 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Location
    Ireland
    Posts
    159
    Well, I have a big problem now. While the above solution works for a form and a subform - it falls down when there is a subform inside of a subform.......any simpler solution would be much appreciated..............

  4. #4
    Richie27 is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Feb 2012
    Location
    Ireland
    Posts
    159
    Very simple fix actually, all it is is that when you migrate your access db to sql server your date field is converted into a format that access does not recognise, which is why your date picker doesn't work.

    If you look in your table properties (afer migration) you will see that access now thinks it is a text field - hence - no date picker.

    All you need to do is change your date fields in sql server to SMALL DATE TIME. Access will now recognise your fields as date fields and the date picker will work.

    Happy date picking!!!!!!!!!

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

Similar Threads

  1. Access 2007 Problems to SQL 2005 / 2008 Upgrade
    By ChrisPackit in forum Access
    Replies: 0
    Last Post: 01-06-2012, 09:30 AM
  2. Problem Saving Access 2007 to 2003 database
    By spkoest in forum Access
    Replies: 4
    Last Post: 05-03-2011, 04:44 PM
  3. Replies: 0
    Last Post: 01-19-2011, 04:20 PM
  4. Calendar question in access 2007
    By DPG in forum Database Design
    Replies: 6
    Last Post: 10-06-2010, 11:22 AM
  5. .adp in access 2007 to SQl server 2008
    By NoellaG in forum Access
    Replies: 5
    Last Post: 09-07-2010, 09:18 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