Results 1 to 4 of 4
  1. #1
    WKU is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Oct 2013
    Posts
    12

    Can not get Columns to add up

    For whatever reason when I try to add up two columns in a query instead of adding up the two numbers it displays it as a text string. So if one column has a 5 and the other is a 2 I am looking for the calculated column to reflect 7, currently it is showing 5,2.

    I have added up items in the past so I am unsure what the problem is



    should be [rev bid amount 1]+[rev bid amount 2].

    Please help

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    You could try:
    CInt(rev bid amount 1])+CInt([rev bid amount 2])
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    WKU is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Oct 2013
    Posts
    12
    Thank you so much that worked! What is CINT stand for?

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,614
    CInt() is one of the many In Built functions available. See: http://www.techonthenet.com/access/functions/
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Replies: 12
    Last Post: 07-31-2013, 01:29 PM
  2. Replies: 2
    Last Post: 05-17-2012, 03:52 PM
  3. Columns
    By ccordner in forum Reports
    Replies: 1
    Last Post: 01-30-2012, 02:20 PM
  4. Comparing 2 columns against 2 other columns
    By Amadeus in forum Access
    Replies: 4
    Last Post: 06-09-2011, 02:48 PM
  5. How do I get more columns?
    By cowboy in forum Queries
    Replies: 2
    Last Post: 05-03-2010, 04:44 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