Results 1 to 5 of 5

Thread: Anyone good with Access?     submit to reddit submit to twitter

  1. #1
    You think this is the real Dmitry?
    Join Date
    Jul 2007
    Posts
    1,687
    BG Level
    6
    FFXI Server
    Ifrit

    Anyone good with Access?

    I'm taking a quiz and I'm supposed to find the difference between dates, but it's not working for me. What I have so far is:

    Code:
    Days since order: DateDiff("d",[Date()],[Orders]![Order Date])
    Where Date() should be found automatically, but it keeps asking me for it. Also doing this in a query.

    Please halp bg, I want to go home

  2. #2
    Nidhogg
    Join Date
    Oct 2005
    Posts
    3,612
    BG Level
    7
    FFXIV Character
    Glick Wick
    FFXIV Server
    Ultros
    FFXI Server
    Bahamut

    Re: Anyone good with Access?

    Googling something simple like this will get you the answer in seconds.

  3. #3
    Banned.

    Join Date
    Oct 2006
    Posts
    10,115
    BG Level
    9

    Re: Anyone good with Access?

    I believe the function to get current date is Today() but of course I'm going by Excel functions >.>

  4. #4
    You think this is the real Dmitry?
    Join Date
    Jul 2007
    Posts
    1,687
    BG Level
    6
    FFXI Server
    Ifrit

    Re: Anyone good with Access?

    Code:
    Days since order: DateDiff("d",Date(),[Orders]![Order Date])
    I hate this program...

  5. #5
    evilbau
    Guest

    Re: Anyone good with Access?

    Quote Originally Posted by Dmitry
    Code:
    Days since order: DateDiff("d", [Orders].[Order Date], Date())
    http://office.microsoft.com/en-us/acces ... 11033.aspx

    I think people need to learn to google?

    Google: Access DateDiff syntax

Similar Threads

  1. Anyone good with home theater care to help me out?
    By ertyu in forum General Discussion
    Replies: 6
    Last Post: 2008-09-16, 15:41
  2. So... is anyone good with computers?
    By ertyu in forum General Discussion
    Replies: 31
    Last Post: 2008-02-20, 16:43
  3. Anyone familiar with the Arrhenius equation?
    By Melchiah in forum General Discussion
    Replies: 13
    Last Post: 2008-02-04, 15:34
  4. Anyone dicking with real lives yet?
    By Demosthenes in forum General Discussion
    Replies: 119
    Last Post: 2007-07-29, 03:29
  5. For anyone familiar with retrieving stolen accounts
    By Warudo Ecksu in forum General Discussion
    Replies: 52
    Last Post: 2005-07-25, 14:39