Results 1 to 4 of 4
  1. #1
    osupratt is offline Advanced Beginner
    Windows 98/ME Access 2007
    Join Date
    May 2011
    Posts
    39

    SUM in form footer not working when opening in MS Access 2010


    I have a textbox in a form footer that is a basic SUM([Quantity]*[Price]) and has worked for years. it's a continuous form and I might have several lines of 'invoicing' that is done and each line has a total. I then total all these line totals in the form footer. it is a MS Access 2000 file format. we have been in a Citrix environment where we opened it using Access 2000, 2003, and 2007. We have now moved out of Citrix to a RDS or remote desktop and it now is opening up in MS Access 2010. This calculated field in the form footer does not work. it is just blank. I've had the control source = [Quantity] or =[Price] and I get the desired result. if I use the function SUM it does not work. = SUM([Quantity]) I get nothing. this should be something very easy but I have checked references and nothing is missing. I don't get it. does anyone have a clue what this might be?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    did you check to see if the query fields have the same spelling to what the form is adding?

    and you put the = in the formula
    =SUM([Quantity]*[Price])

    also try putting the fields on the footer, (invisible)
    txtQty = Sum([Quantity])
    txtPrice = Sum([Price])
    txtSum = txtQty * txtPrice (using text box names)

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    None of the aggregate functions will work on any field? On any computer with 2010?

    Is this a split design? Did you convert db files to accdb format?
    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.

  4. #4
    osupratt is offline Advanced Beginner
    Windows 98/ME Access 2007
    Join Date
    May 2011
    Posts
    39
    Quote Originally Posted by June7 View Post
    None of the aggregate functions will work on any field? On any computer with 2010?

    Is this a split design? Did you convert db files to accdb format?

    well once I converted to .accdb it worked. thanks.

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

Similar Threads

  1. Replies: 1
    Last Post: 12-27-2014, 12:38 PM
  2. Replies: 8
    Last Post: 11-02-2014, 01:27 AM
  3. Replies: 6
    Last Post: 05-12-2013, 01:52 PM
  4. Access 2010 form opening as read only
    By tracer in forum Forms
    Replies: 5
    Last Post: 02-10-2012, 03:52 PM
  5. Replies: 5
    Last Post: 03-11-2011, 10:29 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