Results 1 to 2 of 2
  1. #1
    chaos is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2011
    Posts
    1

    Budget vs Actual

    Trying to create a DB that compares budget values to actual costs. 4 Tables
    Project
    ProjectID
    ProjectName



    CostCode
    CostCode
    CostCodeDesc

    Budget
    BudgetID
    Project
    CostCode
    Amount

    Expense
    ExpenseID
    Project
    CostCode
    Amount

    My problem is each job can have a budget cost code with multiple entries, an expense cost code with multiple entries, and each budget cost code my not have a corresponding expense, or each expense my not have a corresponding budget item. So, when i try to print a report if my data looks like:

    Job1
    Budget: CC1, $500
    Expense: CC1, $100
    CC1, $50

    My Report Looks Like
    Job1
    CC1
    Budget Expense
    500 100
    500 50

    I am attemping to list the budget and expense amounts for each cost code weather it's 1 or 10 for each.

    I hope this makes sense
    Thanks

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    I think that you need to set up an aggregate query grouped on the Budget Code and summed on the Budget Field and Expense Field.

    In a separate query, use the first query as your record source and create an Expression for the variance.

    Alan

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

Similar Threads

  1. Budget and Collections(Actuals)
    By dref in forum Queries
    Replies: 20
    Last Post: 08-23-2012, 06:12 AM
  2. Replies: 12
    Last Post: 01-31-2011, 12:37 PM
  3. Budget and Collections(Actuals)
    By dref in forum Forms
    Replies: 0
    Last Post: 08-19-2010, 03:39 AM
  4. Access - Budget database
    By fanzak in forum Database Design
    Replies: 1
    Last Post: 07-22-2010, 02:24 AM
  5. Calculating "remaining budget $'s by project"
    By madcreek in forum Queries
    Replies: 3
    Last Post: 04-28-2010, 12:14 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