1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

MS Office Access 2007 Sum function (Multiple Tables)

Discussion in 'Business Applications' started by Dilbert77, Sep 27, 2008.

Thread Status:
Not open for further replies.
  1. Dilbert77

    Dilbert77 Thread Starter

    Joined:
    Sep 27, 2008
    Messages:
    1
    I am using MS Office 2007, I have a DB set up with multiple tables. Table names 'Inventory' and 'Inventory Transactions'. I am attempting to perform a sum function between the 2 tables.
    in the 'Inventory' table I have fields called 'Suggested Retail' and 'Total'.
    In the 'Inventoy Transaction' table I have a field called 'Quantity'.

    In the Total Field I am trying to get a SUM (*) of 'Suggested Retail' and 'Quantity'.
    I can get the formula to work using 2 fields within the same table as such =Sum([Suggested Retail]*[Target Stock Level]).

    When I try and add field of the other table I get error. here is what I am attempting to use:
    =Sum([Suggested Retail]*[Inventory Transactions]![Quantity]) or
    =Sum([Suggested Retail]*([Inventory Transactions]![Quantity]))


    Any help would be appreciated.
     
  2. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    Ideally this should be done in a Query that Joins the 2 tables, where are you trying to do it?
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/753722

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice