Results 1 to 2 of 2
  1. #1
    Roger is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    1

    calculated fields need help?


    I am looking for some help with my calculations. I am un sure on where the curly brackets go, or do I need quotation marks.

    I can do the calculation in excel 2010 but not in access 2010. I am using this in a table not a query.

    [runs]/[innings]-no]

    Many thanks in advance Roger

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Access 2010 introduced new functionality that allows you to do calculations in a Table. That doesn't mean that is how you should do it.
    No other database programs allow this. Where this can be an issue is if you ever need to convert it to another program (like SQL or Oracle).
    The general rule of thumb with relational databases is that all calculations should be done in queries.

    That being said, the logic is the same. Is "no" a field? Then maybe your calc should look like:
    [runs]/([innings]-[no])
    Of course, I am just guessing at the logic behind the formula (you haven't told us what the formula is supposed to do).

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

Similar Threads

  1. Replies: 12
    Last Post: 10-01-2013, 12:59 PM
  2. Calculated fields
    By FinChase in forum Queries
    Replies: 5
    Last Post: 02-02-2012, 06:12 PM
  3. Calculated fields
    By graciemora in forum Forms
    Replies: 1
    Last Post: 02-04-2011, 06:07 AM
  4. calculated fields
    By nashr1928 in forum Forms
    Replies: 1
    Last Post: 07-21-2010, 04:49 PM
  5. Sum of calculated fields
    By nkuebelbeck in forum Forms
    Replies: 9
    Last Post: 03-12-2010, 01:32 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