Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Newbury, Berkshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Time for Bed said Zebadee ( )

    I

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Time for Bed said Zebadee ( )

    It doesn't cause an error, but there isn't any need for the Let keywords in your code. In Access, the only place you need a Let is in a class module Let property procedure, and it's a little confusing to see it in plain code. It's like the Call keyword, understood, but you can use it if you want to.

    If I pass in a date/time that's within the specified window, it returns a true for me. Of course, I had to change the argument I passed to the US date format of m/d/yy and tweak the time to be later than now here in California. But once I did, it returned a true as you would expect. I take it that isn't what you're seeing?
    Charlotte

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Newbury, Berkshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Time for Bed said Zebadee ( )

    Dear Charlotte,

    Thank you!

    That

Posting Permissions

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