• Time Format in Acces2k (2000)

    Author
    Topic
    #363961

    can anyone tell me the correct way to display a field in min – sec – hun format in access 2k? It does not matter what the separator is

    Viewing 0 reply threads
    Author
    Replies
    • #557144

      Format([DateTimeField],”mm:ss”)
      Your field has to be of Date/Time type.

      • #557145

        the min and sec are fine but the hun does not show – that’s my problem

        • #557161

          Hmmmm ……

          I’ve been trying to think ….. what is “hun”?

          If you are referring to hundredths of a second, then you have a problem. Access does not return this. The smallest increment for a Date/Time value is “seconds”.

          You may be able to do this with code using the Timer built into a form.

          HTH
          RDH

        • #557164

          Take a look at this post and see if it helps. Be warned that this code displays the “hundreds” as a two-digit value, so you may have to play with it.

        • #557167

          You could use a single type field and store the time as a number of seconds but you’ll have to do all the calculating and formatting yourself.

          See this post for more information.

    Viewing 0 reply threads
    Reply To: Time Format in Acces2k (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: