Results 1 to 5 of 5
  1. #1
    michaelhare is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Location
    Vista, CA
    Posts
    5

    Unhappy Inter Table calculations


    I have a master table that looks up data in an employee table and a customer table. The customer table has fields used to calculate items in the master table. I have been able to design a report that displays all of the appropriate data from the sub tables and that is working well. The problem I'm having is using sub table data to calculate items in the master. Can anyone let me know what I need to do to get what I need. Here are the fields I'm using (these are just test tables so I can learn how to do this in a regular db).

    Transactions Employee Pricing
    Transaction Employee ID (1) Customer ID (2)
    Employee [Look-up (1)] Last Name A
    Pricing [Look-up (2)] Address B
    C
    D

    In a report using the Transactions Table I want to use the values in Pricing (A), (B), (C) & (D) to calculate a total in the report. I can't seem to be able to add these values.

    Please help.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    A B C D are fields? Why can't you add them? What have you tried? What happens - error message, wrong results, nothing?

    Have you built a query that joins the tables?
    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
    michaelhare is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Location
    Vista, CA
    Posts
    5
    yes ABC&D are Fields. I named them that just as a test so I can apply the technique to another db. When I try to create a field in my report to add the values I can't access the fields. I will try to build a query and let you know.

    Thanks

  4. #4
    michaelhare is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Location
    Vista, CA
    Posts
    5
    I finally got the fields to show and I was able to build an expression to add them. When I view the report I get "#TYPE" But all of the fields are formatted as currency.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Did you put the expression in ControlSource 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. Replies: 19
    Last Post: 09-05-2014, 06:13 AM
  2. calculations
    By DariusD in forum Access
    Replies: 3
    Last Post: 01-01-2013, 07:22 PM
  3. Form calculations not affecting table
    By jdm0804 in forum Forms
    Replies: 3
    Last Post: 09-20-2011, 11:11 AM
  4. Inter-Query Selection
    By mschmehl in forum Queries
    Replies: 1
    Last Post: 04-13-2011, 05:00 PM
  5. Calculations in Form not saving to table
    By ld8732 in forum Forms
    Replies: 1
    Last Post: 01-24-2011, 07:31 PM

Tags for this Thread

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