Results 1 to 6 of 6

Thread: [Reopen] possible date time bug?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Question [Reopen] possible date time bug?

    hi
    one thing that ponder me in ms acess is, why the textbox can't followed the format we set already?

    let say i got one bound textbox with the value 16:11 and the format was set to "hh:nn" but access change it to short date automatically.

    whenever i put the mouse pointer on the textbox, it turns out to be "4:09:00 PM", so, i wonder why?
    Last edited by asmdev; Jun 23rd, 2005 at 12:26 AM.
    if u felt my post make u happy ,
    then u could make me happy too by rating my post

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Re: how to force format?

    i was force to use something like this in order to achieve what i want

    VB Code:
    1. txtTimeDifferent = Format(tOut - tIn, "hh:nn")

    and that is troublesome

    and the following
    VB Code:
    1. Private Sub Form_Current()
    2.     tIn = Format(tIn, "hh:nn")
    3.     tOut = Format(tOut, "hh:nn")
    4. End Sub
    if u felt my post make u happy ,
    then u could make me happy too by rating my post

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Re: how to force format?

    i guess this is solved, but if ur guys got another nice way, feel free to post up
    if u felt my post make u happy ,
    then u could make me happy too by rating my post

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Re: how to force format?

    now, the problem comes, doing so could make ACCESS interpret it as minute:seconds

    oh man... this is not solved. reopen again.
    if u felt my post make u happy ,
    then u could make me happy too by rating my post

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Re: [Reopen] how to force format?

    so, let say the user enter 23:22
    does it mean 23 minutes 22 seconds?
    or
    23 hour 22 minutes?
    if u felt my post make u happy ,
    then u could make me happy too by rating my post

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Posts
    158

    Re: [Reopen] possible date time bug?

    what should i do to make the following time summation correct?



    oviously the answer should be some where more than 18 hours
    if u felt my post make u happy ,
    then u could make me happy too by rating my post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width