Results 1 to 4 of 4
  1. #1
    barnes434 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    May 2012
    Posts
    2

    Question Calculating Year to Date data in Form

    I am trying to calculate a year to date value for several vendors, using each monthís total pounds received and total pounds rejected year to date.
    My fields are VendorName, Month, LbsReceived_CurrentMonth, LbsRejected_CurrentMonth, LbsReceived_YTD, LbsRejected_YTD.
    Iíve created a form for entry of the information. How do I get the calculation for the YTD fields? I have a query pivot table set up, which shows my accumulative totals, but I canít figure out how to transfer this information to my formÖthen my report. Any help is greatly appreciated!



    Vendor Month Lbs Received Current Lbs Rejected Current YTD Received YTD Rejected
    VendA January 1526 125 1526 125
    VendB January 1004 0 1004 0
    VendA February 539 20 2065 145
    VendB February 2500 100 3504 100

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    49,776
    If you really want a report, why bother showing calcs in the form?

    A report can organize the data using Grouping & Sorting with aggregate calcs. Textboxes in report have a RunningSum property.

    Is the example table the pivoted data?
    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
    barnes434 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    May 2012
    Posts
    2
    Oh! That sounds good. The example table is just an example of my data. Can you help using that data?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    49,776
    Building the report I describe is basic Access functionality. Review http://office.microsoft.com/en-us/ac...010341571.aspx

    Make attempt and when you encounter issue post specific question.
    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.

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

Similar Threads

  1. Replies: 4
    Last Post: 01-10-2012, 06:26 PM
  2. Year to date sum
    By jzacharias in forum Database Design
    Replies: 6
    Last Post: 09-10-2010, 10:38 AM
  3. Replies: 23
    Last Post: 06-30-2010, 02:05 PM
  4. Finding data between two date for any year
    By gemini2 in forum Access
    Replies: 4
    Last Post: 04-05-2006, 06:20 AM
  5. Replies: 1
    Last Post: 12-09-2005, 10:29 PM

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 - Senior Forums