1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: MS Access Date Manipulation

Discussion in 'Business Applications' started by draceplace, Sep 26, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. draceplace

    draceplace Thread Starter

    Joined:
    Jun 8, 2001
    Messages:
    2,583
    I have a date stamp in a table that looks like:
    09/16/2008 4:03:27 PM
    If I run the Query = 09/16/2008 I get no answers because the time portion?
    It seems the DatePart function works in reports and forms but not in queries?
    Seems there should be a simple way to query this with out reprocessing the date field?

    Thanks for looking!!
     
  2. slurpee55

    slurpee55

    Joined:
    Oct 20, 2004
    Messages:
    7,837
    Like "*09/16/2008*" in your query will work, but that will be tedious if you have to do a lot of it.
     
  3. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    Use Format([name of Date field], "mm/dd/yyyy") as seperate Column heading and then test that column instaed of the real date column.
    [name of Date field] is the actual name of your Date Field in square brackets.
     
  4. draceplace

    draceplace Thread Starter

    Joined:
    Jun 8, 2001
    Messages:
    2,583
    Thanks!!, I knew there was a simple solution here!!
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/753597

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice