Results 1 to 2 of 2
  1. #1
    PieBorg is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2020
    Posts
    1

    Formatting time

    I'm a newbie having trouble formatting time values in a text box on a report. The control source is =[AsnmStartTime] & " to " & [AsnmEndTime]. The time values are stored as date/time in their table, formatted as medium time, with an input mask of 99:00\ >LL;0;_. They display correctly on other forms (for instance 12:00 PM), but on the report, the seconds have been added at the end (12:00:00 PM). How do I get rid of those seconds on the report? Do I need to break the control source up into multiple text boxes?

    Thanks in advance for any helpful suggestions!

  2. #2
    Mickjav is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2019
    Location
    Margate, Kent
    Posts
    123
    Go to the text box on the report and add the format short time or medium Time or use something like this "hh:nn AM/PM" in the format property

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

Similar Threads

  1. Chart formatting issue with y-axis and time
    By BoydLabBuck in forum Reports
    Replies: 1
    Last Post: 11-14-2018, 10:21 AM
  2. Replies: 2
    Last Post: 07-14-2016, 09:23 PM
  3. Date/Time Formatting
    By cuddles in forum Access
    Replies: 5
    Last Post: 06-11-2014, 02:44 PM
  4. how to apply Conditional Formatting in run time
    By selvakumar.arc in forum Forms
    Replies: 7
    Last Post: 07-03-2013, 12:41 PM
  5. Date and Time Formatting
    By reidn in forum Access
    Replies: 8
    Last Post: 07-22-2011, 10:18 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