Results 1 to 4 of 4
  1. #1
    bdotr22 is offline Novice
    Windows 11 Access 2016
    Join Date
    Jun 2025
    Posts
    12

    Sub From Time Format

    I have a form that has a sub form in it which is based on a query. I am looking at the Run_Time_Total column in the sub form. In the query it is shown in a time format, but in the sub form it is shown a decimal. I can't figure out why. I have tried to update the format for the sub from field but the time format options are not there. Hopefully this all makes sense!

    This is what the form looks like.
    Click image for larger version. 

Name:	Form.jpg 
Views:	13 
Size:	102.0 KB 
ID:	53112

    When I access the query directly it looks like this.


    Click image for larger version. 

Name:	Query.jpg 
Views:	13 
Size:	39.1 KB 
ID:	53113

    This is a photo of the options to format the field on the sub form. I am not sure why the time format options are not there! Apologies for quality, wasn't sure how else to capture the format drop down!
    Click image for larger version. 

Name:	Sub_Form.jpg 
Views:	13 
Size:	134.0 KB 
ID:	53114

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    How is Run_Time_Total derived? Is this a calculation?
    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
    jojowhite's Avatar
    jojowhite is offline Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    430
    you manually add the Format (on the property window):
    Code:
    hh:nn

  4. #4
    bdotr22 is offline Novice
    Windows 11 Access 2016
    Join Date
    Jun 2025
    Posts
    12
    Quote Originally Posted by jojowhite View Post
    you manually add the Format (on the property window):
    Code:
    hh:nn
    hh:mm worked perfectly. Thanks

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

Similar Threads

  1. Sub forms and sub-sub forms
    By Satanskittens in forum Forms
    Replies: 11
    Last Post: 06-09-2020, 03:40 PM
  2. Forms, Sub Forms and Sub Sub Forms Advice
    By Mattyn in forum Access
    Replies: 1
    Last Post: 07-21-2016, 10:28 AM
  3. Replies: 6
    Last Post: 08-31-2015, 09:50 AM
  4. Replies: 5
    Last Post: 07-24-2014, 07:54 AM
  5. Replies: 2
    Last Post: 04-29-2012, 02:22 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