Results 1 to 4 of 4
  1. #1
    CT_AccessHelp is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    40

    Query calculations off other queries

    I have the query below that I need to do a calculation against. I need each practice acres to subtract off it's allocation. Can't figure it out , it's been a looooong week and I'm so over this database LOL TGIF!




    Click image for larger version. 

Name:	Untitled.png 
Views:	12 
Size:	63.7 KB 
ID:	24056



    End result needs to be something like this:


    Practice Acres by Practice Allocation Acres left in Allocation
    CP23 17994 20000 2006
    CP23A 25 5000 4975
    CP27 2567 8000 5433
    CP28 111 500 389

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,525
    Presuming there's a table with the allocation for each practice, you should be able to join that table to the query and add that field to the results, enabling you to do math with it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    CT_AccessHelp is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Posts
    40
    Quote Originally Posted by pbaldy View Post
    Presuming there's a table with the allocation for each practice, you should be able to join that table to the query and add that field to the results, enabling you to do math with it.
    Yes, Thanks! I was fried on Friday, got it.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,525
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 30
    Last Post: 09-30-2015, 10:58 AM
  2. Replies: 1
    Last Post: 08-29-2014, 04:15 PM
  3. Help with doing calculations in queries
    By DB88 in forum Access
    Replies: 3
    Last Post: 05-14-2014, 04:39 PM
  4. using calculations in queries
    By EWIG in forum Queries
    Replies: 3
    Last Post: 01-29-2014, 11:55 AM
  5. Replies: 1
    Last Post: 10-08-2012, 03:35 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