Results 1 to 3 of 3
  1. #1
    JimO is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Dec 2015
    Posts
    126

    Default time data to PM value

    Want to enter start times for sports events. The vast majority start after 12:00 PM and I would like to have the starting times default to a PM not AM.



    Currentyl set up as:

    Data Type, Date/Time
    Format, Medium Time
    Input mask, 0:00 P

    but times do not reflect as PM.

    If I enter 0330 the value displayed is 3:30 AM, I want to show it as 3:30 P.

    Thanks,
    Jim O

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,915
    I am not seeing any way to force PM with InputMask. Even user typing "P" doesn't work.

    Options:

    1. Remove input mask and user types full time, including colon and "P".

    2. use ShortTime format and enter 24-hr time. So 0330 would be entered as 1530.

    3. UNBOUND textbox and VBA code saves value to field
    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
    JimO is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Dec 2015
    Posts
    126
    So basically it is not part of the program. Something the powers that be might want to add (as a convenience).

    IF that is the case I will mark this as solved.

    Thanks
    Jim O

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

Similar Threads

  1. Replies: 9
    Last Post: 02-06-2017, 11:56 AM
  2. default data from table
    By vicsaccess in forum Programming
    Replies: 7
    Last Post: 11-21-2015, 12:42 PM
  3. Replies: 2
    Last Post: 08-03-2014, 09:36 AM
  4. Replies: 2
    Last Post: 07-22-2013, 12:13 AM
  5. Replies: 2
    Last Post: 08-06-2011, 12:19 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