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

    form footer SUM not working after converting to .accdb

    I have in the last several days converted several .mdb files to .accdb files and in all cases have struggled with calculated field such as =SUM([Quantity]*[Price]) to get a sum of all invoice detail line totals. On several the conversion worked and on several I am pulling my hair out. The form is a sub form (frmInvoice) on a main form (frmMainDataEntry). When I double click on the sub form and open up in Form View I have several thousand lines and when I scroll to the bottom the =SUM([Quantity]*[Price]) works and I can see the total of ALL the lines. However when I open up the frmMainDataEntry and enter data and move into the sub form frmInvoice and enter in several lines of data the invoice detail line totals calculate fine but the TOTAL in the sub form footer shows blank. I have spent hours on this and can't figure anything out. This database was converted .mdb to .accdb in 2007. I am opening it up the .accdb file in MS Access 2010. It was working fine as .mdb when opening with MS Access 2007. Would appreciate any help on this. Thanks.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    I've seen this and I think it was a bug. If you click in the blank textbox, does it fill in? Make sure you've updated 2010, as it seems to me there was an update or patch that (allegedly) fixed this. If all else fails, and I've done this, calculate the sum programmatically and place the value there in the appropriate event(s).
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    osupratt is offline Advanced Beginner
    Windows 98/ME Access 2007
    Join Date
    May 2011
    Posts
    39
    The value does not show up in the text box if I click in it. I am not sure what you mean by calculate programmatically? I guess I will try to create another test form in the .accdb file and see if it acts the same.

  4. #4
    osupratt is offline Advanced Beginner
    Windows 98/ME Access 2007
    Join Date
    May 2011
    Posts
    39
    I also wanted to note that when we open up the MainDataEntry form in EDIT mode the sub form shows correctly with the TOTAL in the sub form footer.

  5. #5
    osupratt is offline Advanced Beginner
    Windows 98/ME Access 2007
    Join Date
    May 2011
    Posts
    39
    I created a test form with a quantity and a price unbound text box and then one in detail for a line total. all acts as it should 5 * 5 with a line total of 25. I put SUM([quantity]*[price]) in this test form footer and it shows as blank. I am dumbfounded. What is going on?

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

Similar Threads

  1. Replies: 3
    Last Post: 08-25-2015, 04:40 PM
  2. Replies: 15
    Last Post: 04-27-2015, 12:19 PM
  3. DAO issue after converting to .accdb
    By clancy76 in forum Access
    Replies: 3
    Last Post: 04-23-2015, 03:33 PM
  4. Replies: 8
    Last Post: 11-02-2014, 01:27 AM
  5. converting mdb to accdb format
    By crowegreg in forum Access
    Replies: 1
    Last Post: 05-31-2011, 10: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