Results 1 to 3 of 3
  1. #1
    harry26 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2015
    Posts
    4

    Arrow how to carry forward previous month data to current month

    i made access database using ms access 2007.
    it calculates penalty for a given employee for a specific month.i successfully calculate penalty using "Penalty Calc" query.
    so at the end wot i have is "employee code"(Empcd),"penalty month nd year"(PYYMM), and total penalty(that is calculated).
    now what i want to do is that, suppose i calculate penalty for feb2015, and after recovery of penalty amount there are two options that is due([Recovery]-[Total Penalty]) = 0 or some value. i want to post these details to next month that is march2015.
    so it will look like this:

    PYYMM Empcd Total Penalty Recovery Due
    Feb15 12345 5000 2000 3000
    March15 12345 4000+3000 7000 0


    (4000=new penalty for march15
    3000=Due carried over from feb15)

    kindly suggest some idea how to do this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    Calculated data should not be saved to table.

    What you want can be difficult. Review:

    http://allenbrowne.com/subquery-01.html#AnotherRecord

    RunningSum property of textbox on report might accomplish what you need.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    harry26 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2015
    Posts
    4
    i am attaching my database here.
    all i want to do is put carried forward(CF next) from last month to Carried over(CO Previous) for current month.
    help me out.Database.zipDatabase.zip

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

Similar Threads

  1. Replies: 6
    Last Post: 05-05-2014, 10:51 PM
  2. Replies: 2
    Last Post: 04-15-2014, 08:43 AM
  3. Replies: 5
    Last Post: 11-25-2012, 03:21 PM
  4. Replies: 3
    Last Post: 06-19-2012, 10:42 PM
  5. Replies: 1
    Last Post: 03-02-2012, 11:09 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