Results 1 to 4 of 4
  1. #1
    cbrsix is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    214

    DateAdd()

    I am trying to write this formal but I can't get it to work..



    =DateAdd("yyyy",1,Format(Date(),"yyyy"))

    What I am trying to accomplish is to have the report show next years date. For example, if the report is run today. I want the report to show yr 2012. Any ideas or suggestions?

  2. #2
    Join Date
    Nov 2011
    Location
    Hamilton, NZ
    Posts
    18
    try this...

    =Format(DateAdd("yyyy",1,Date()),"yyyy")

  3. #3
    cbrsix is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    214
    That worked. Thanks.

  4. #4
    Join Date
    Nov 2011
    Location
    Hamilton, NZ
    Posts
    18
    Cheers mate....

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

Similar Threads

  1. Problem with DateAdd
    By Lo-Wang in forum Queries
    Replies: 6
    Last Post: 02-13-2019, 10:55 AM
  2. DateAdd Function
    By Desstro in forum Programming
    Replies: 3
    Last Post: 04-03-2011, 01:45 PM
  3. dateadd help
    By dubsdj in forum Queries
    Replies: 3
    Last Post: 03-03-2011, 07:22 PM
  4. Help Please - DateAdd Function
    By graviz in forum Queries
    Replies: 3
    Last Post: 03-02-2010, 02:34 PM
  5. Change Between by DateDiff or DateAdd.
    By wagner.bts in forum Queries
    Replies: 1
    Last Post: 06-05-2009, 11:24 AM

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