Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Posts
    3

    Date Past Function

    Is there some type of function I can use in Access to do the following?

    One field has dates in it.
    When these days are past due I need to know so I can check on the data.

    I tried to make another field in my query to calculate this [FIELDNAMEHERE] > Date().

    Do I need to create another field that has the current date in it and then make another field to say one is greater than the other or less than the the other or something? I really just need to know when the date entered into this field has passed so I can escalate on the issue.

    Any help is greatly appreciated !!



    Thanks!
    Laney

  2. #2
    Join Date
    May 2008
    Location
    North Charleston, SC
    Posts
    20
    You would want to store the date entered (or due date, or whatever it is) as a field in the table, then use the Date() or Now() functions to do a comparison.

  3. #3
    Join Date
    May 2008
    Posts
    3

    hello

    Hi there narayanis,
    That's what I'm asking is how to do it. hehe

  4. #4
    Join Date
    May 2008
    Location
    North Charleston, SC
    Posts
    20
    You will want a field in the table for the date entered (or due date). let's call it table1.dateadded. then you can query like this:

    select * from table1 where Date() > table1.dateadded

    does that help?

  5. #5
    Join Date
    May 2008
    Posts
    3

    Thumbs up

    Ok, that helps.. I'll see if I can get it to work. Thanks a bunches!

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

Similar Threads

  1. Access 2003 Date() Function returns "#Name?"
    By smartel@soprema.ca in forum Programming
    Replies: 5
    Last Post: 01-18-2012, 05:52 AM
  2. Is there a function to do this....
    By Nowherefast in forum Access
    Replies: 2
    Last Post: 12-31-2008, 08:08 AM
  3. SELECT FUNCTION help please
    By scott munkirs in forum Queries
    Replies: 0
    Last Post: 10-17-2006, 07:44 AM
  4. Need Help for Dlookup function
    By wasim_sono in forum Programming
    Replies: 5
    Last Post: 01-04-2006, 08:18 AM
  5. Replies: 1
    Last Post: 12-09-2005, 10:29 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