Results 1 to 6 of 6
  1. #1
    kellyd is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    6

    Query Calculation

    I have multiple fields I need to calculate together and I am not getting the result I am looking for.
    I have a field called TTL%BILLED I thought it should look like this but it doesn't work.

    TTL%BILLED:[previously billed]+[current billed]/[ttl contract].

    What am I doing wrong?

    Thank you


    Kellyd

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I would not use the "%" in a name.
    TotBilled:=([previously billed]+[current billed])/[ttl contract].
    Are all of these fields in the same record?

  3. #3
    kellyd is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    6
    Thanks but it didn't work

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What results are you getting?

  5. #5
    kellyd is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    6
    It wasn't the expression, it was an extra space in a field heading or something. I retyped all of my field headings and it came out correctly

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That's great! I guess you are ready to use the Solved thread tool now, right?

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

Similar Threads

  1. Calculation Help
    By edge5511 in forum Programming
    Replies: 4
    Last Post: 12-18-2015, 11:11 AM
  2. crosstab query calculation
    By rutica in forum Queries
    Replies: 2
    Last Post: 04-28-2009, 09:52 AM
  3. Calculation error
    By wasim_sono in forum Forms
    Replies: 1
    Last Post: 03-26-2009, 02:51 PM
  4. Calculation is off by a few cents...
    By Jule in forum Reports
    Replies: 3
    Last Post: 05-01-2006, 01:06 PM
  5. Calculation
    By thestclair in forum Reports
    Replies: 1
    Last Post: 04-29-2006, 11:03 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