Results 1 to 7 of 7
  1. #1
    clairdorsey is offline Novice
    Windows 8 Access 2013
    Join Date
    Jun 2015
    Posts
    9

    Calculations in Tables and Forms

    I need to add 10 fields together ....when using calculations in the table design view, I can get about 4 fields to calculate, any more than that I get errors.



    I have also tried to do this in a form using text box calculations and still get errors

    any ideas?

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Welcome to the forum...

    I do not use calculated fields in tables. IMO, a very bad idea.

    Use a query to add the fields together.


    Having said that, it sounds like you might not have a normalized structure....... not enough info to really determine. But adding 10 fields...???

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Can you give us a little more detail on WHAT you are trying to accomplish?

    Adding 10 fields doesn't really tell us much.

    Perhaps a description of your business issue/opportunity, your database tables and relationships....

    You know --- I work for the ABC company. We deal retail sales, selling Products to Customers...
    My issue is related to inventory -- we don't record Quantity of products sold daily, and often run out.
    We need help.....

    And welcome to the forum.

  4. #4
    clairdorsey is offline Novice
    Windows 8 Access 2013
    Join Date
    Jun 2015
    Posts
    9
    Ok ... So a little more background

    I work for a large University and am in a self supporting continuing education unit.

    This access db is for financial management.

    Need to show the difference between income codes and expense codes.
    The data I need to add is separated into account codes ( like salary, benefits, office supplies)

    I tried to add two expense codes in a query and field is blank...

  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
    Arithmetic with Null results in Null. If either field is Null then the result will be Null. Handle Null with Nz() or Is Null.

    http://allenbrowne.com/casu-12.html

    http://allenbrowne.com/QueryPerfIssue.html#Nz
    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.

  6. #6
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    clair,

    I don't have a financial background, but I think this link may help with concepts of account definition/recognition.

    Also here is a free data model from Barry Williams that may help with the tables and relationships. This model is generic and has the tables and relationships typically found in an accounting system. Your requirements may be different --you can use or remove elements/details that are not relevant to you.

    good luck.

  7. #7
    clairdorsey is offline Novice
    Windows 8 Access 2013
    Join Date
    Jun 2015
    Posts
    9
    Thanks to every one ... I'm making progress

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

Similar Threads

  1. Calculations in tables
    By frustratedwithaccess in forum Access
    Replies: 3
    Last Post: 11-12-2014, 10:23 AM
  2. Calculations in Different Tables
    By gatsby in forum Access
    Replies: 1
    Last Post: 03-27-2013, 05:55 AM
  3. Replies: 0
    Last Post: 04-25-2011, 04:11 AM
  4. Replies: 14
    Last Post: 06-03-2010, 06:03 PM
  5. Calculations in linked forms
    By Dena Grabinar in forum Forms
    Replies: 0
    Last Post: 08-22-2008, 05:34 AM

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