Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513

    quirky date format behavior

    I have a date field on a form, and all I want it to do is look like this 03/08/2012 and have a date picker

    instead what I get is: 08-Mar-12, which is ok
    but as soon as I select the control, the format switches to: 201268.03.08,
    and when I pick the date from the date picker, and loose focus on the control.. i get an error: "valuoe you entered isn't valid for his field"
    yet when I correct 201268.03.08 to be 2012.03.08, it accepts the entry



    dazed and confused; any suggestions will be greatly appreciated in advance,
    mark

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Odd yes but must be a reason for the extra digits '68'. I haven't used the date picker (set input masks in my project). Does the field in table have Format property setting? Does the control have Format property setting? Do you want to provide project for analysis?
    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.

  3. #3
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513
    it was odd: the user had a system date format set up as yyyy.mm.dd; when the '.' were changed to '-' (i.e. yyyy-mm-dd) the problem whent away

    any thoughts on how I might deal with a user's quirky format in the future?

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    The system date format caused issue? Never would have occurred to me. Sorry, no idea how to deal with except maybe an alert to the user when they install.
    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. date format
    By slimjen in forum Reports
    Replies: 15
    Last Post: 01-19-2012, 07:29 PM
  2. Date field not in date format
    By Lorlai in forum Access
    Replies: 11
    Last Post: 06-27-2011, 05:14 PM
  3. date format
    By dollygg in forum Access
    Replies: 2
    Last Post: 01-19-2010, 10:14 AM
  4. Date Format
    By wasim_sono in forum Forms
    Replies: 2
    Last Post: 08-15-2006, 01:20 AM
  5. Date Format
    By St3ph3n in forum Access
    Replies: 4
    Last Post: 03-09-2006, 11:23 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