Results 1 to 2 of 2
  1. #1
    theracer06 is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    7

    Forecast Query with stepwise increasing year

    Hi,

    I am building a Query that multiplies a price curve for every hour in the
    year by a constant so as to build a multiyear forecast curve.

    The only glitch is that I do not know how to make the date function update to
    the new year after a full 365 round has been multiplied.



    Does anybody know how to make Date change from 31/24/20xx to 01/01/20xx+1?

    Thanks in advance and Best,
    Leo

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    one approach using the DateAdd method one can roll forward to new days, months, years....if you are not familiar with it - look it up in the VBA Help....

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

Similar Threads

  1. fiscal year
    By RedGoneWILD in forum Programming
    Replies: 4
    Last Post: 08-04-2010, 01:38 PM
  2. Replies: 23
    Last Post: 06-30-2010, 02:05 PM
  3. by year by month
    By nkuebelbeck in forum Reports
    Replies: 21
    Last Post: 03-24-2010, 01:53 PM
  4. Increasing values
    By Underworld in forum Access
    Replies: 4
    Last Post: 02-24-2010, 03:21 AM
  5. Query to extract record of particular year
    By pkg206 in forum Access
    Replies: 2
    Last Post: 11-11-2009, 10:01 PM

Tags for this Thread

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