Results 1 to 4 of 4
  1. #1
    Join Date
    May 2004
    Posts
    13

    Thumbs up Unanswered: Really need help...

    Right, i really need help on a few things...so here goes
    how can i use an automatic date (todays date...) in a query, and how do i then get the query to show me, say, data from over one year ago to but less than 2 years ago?
    Also, how can i perform a check of data once new data has been entered..(eg i entered a company details, i then want it to check to see if the right products are in stock)
    thanks in advance

  2. #2
    Join Date
    Apr 2004
    Posts
    182
    for todays date use date(). for your date field set the criteria = date()

  3. #3
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    What do you have so far?
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  4. #4
    Join Date
    Dec 2002
    Location
    Préverenges, Switzerland
    Posts
    3,740
    does this work as criteria:
    between dateadd("m", -12, now()) and dateadd("m", -24, now())

    ...sorry i am not a fan of date()


    izy
    currently using SS 2008R2

Posting Permissions

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