Results 1 to 2 of 2
  1. #1
    kmims44 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Posts
    24

    formula help for Calculating Running Totals actual costs versus baseline funding

    Ok I'm sure this is easier than I'm making it but I'm having a mental block. I have a table called "ContractCostSummaryT" with the following fields:
    Original Target Cost
    Negotiated Changes
    Contract Type
    Start Date


    End Date
    ContractName
    ContractValue
    PeriodOfPerformanceDays(calculated from End Date-Start Date)
    PeriodofPerformanceMonths(Calculated from POPDays)
    SLIN(lookupfield from table SLINRefT)

    I have another Table "ContractBudgetT" with the following fields:
    Date
    BudgetedHours
    SubTotalofBudgetperMonth
    ActualHours
    ActualMonthlyCost
    ContractName(lookup field from the above referenced table)
    WBS(lookup field from table WBSReftT)
    BudgetvsActualperWBSperMonth(calculated from SubTotalofBudgetperMonth-ActualMonthlyCost)
    SLIN(lookup field from SLINRefT)

    Now...What I want to do is 1. On a form automaticly populate a entry box for each month of the PeriodofPerformanceMonths 2. Calculate a running grand total for the contract Actual costs and the Budgetcosts based on what day it is 3. Calculate a running total for the actual costs and budget costs based on the WBS and current date 4. Calculate a total that is the ContractValue(from ContractCostSummaryT) - Sum(Contract Actual Costs) based on the current date

    ANY and ALL help setting up the formulas to do this would be greatly appreciated!!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,603
    For starters, Google: SQL running sum

    Review:
    http://www.1keydata.com/sql/sql-running-totals.html
    http://allenbrowne.com/subquery-01.html
    https://www.accessforums.net/queries...ing-25488.html

    Textboxes on report have a RunningSum property.
    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. Create Running Totals
    By dascooper in forum Access
    Replies: 9
    Last Post: 04-05-2011, 09:22 PM
  2. Select query for running totals
    By asawadude in forum Queries
    Replies: 2
    Last Post: 10-07-2010, 03:41 PM
  3. Replies: 42
    Last Post: 07-13-2010, 02:49 PM
  4. Report w/o multiple ship costs
    By stattech in forum Reports
    Replies: 1
    Last Post: 06-22-2010, 04:20 AM
  5. Calculating Sub Totals in a Query
    By cassidym in forum Queries
    Replies: 2
    Last Post: 06-09-2010, 01:26 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