Results 1 to 9 of 9

Sum

  1. #1
    BringTheR41n is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    36

    Sum

    I keep trying to get the total sum of my not cleared checks amounts within a given time frame. I have all of the not cleared checks amounts displayed on my report but when i create a Sum() textbox in the footer, it says "error". I have the amounts in currency format as well as total. I have it set up as: =Sum([NotCleared-MQ]): the MQ is my bank. Any ideas what im doing wrong? I have tried changing the NotCleared-MQ to NotClearedMQ but it still reads error...

  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,530
    That should work if it's the field name. Do you have it in the report footer or the page footer? It won't work in the page footer.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    BringTheR41n is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    36
    Ohhhhh I wasnt aware that it wouldnt work in the page footer. why would that make a difference tho?

  4. #4
    BringTheR41n is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    36
    with the page footer, it wants to put it on every page. Right?

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    It would be nice for it to work in the page footer, but it won't. About half-way down:

    http://office.microsoft.com/en-us/ac...001122444.aspx
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    BringTheR41n is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    36
    is it possible to pull data from another table and insert it in directly to a report? the report was drawn from a query but i need to add some info from a table.

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Options include a subreport based on the table or a query and the DLookup() function.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    BringTheR41n is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    36
    I have tried the DLookUp() function and i can get it to pull data from the table but it only pulls the first entry. =DLookUp("MQBalance","BankAmount") is what i have so far but i dont know what to put for the criteria portion of the function to look up the most recent date. i do have a DateChecked column next to the bank amount tho. I check it every day to keep on top of everything. can i incorporate the function to pull "today's" Balance? meaning everyday i check it, i enter a value and run the report to compare numbers.

  9. #9
    BringTheR41n is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    36
    I figured it out. I had added ,"DateChecked = Date()") and it seemed to work.

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

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