Results 1 to 8 of 8
  1. #1
    Windward is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2012
    Posts
    6

    Running Balance in forms or queries

    I have been trying to produce a report which lists items purchased from accounts with several suppliers and shows payments into these accounts and a running/outstanding balance.

    My access experience is poor and I found a template/database on the Microsoft site which looked exactly as I wanted, but it too does not seem to show the calculated balance anywhere. (http://office.microsoft.com/en-us/templates/results.aspx?qu=access%20databases&av=zac110#ai:TC 001017534|)



    It has a calculated text box on two of the reports but it does not seem to work other than as a sum in the footer. Can anyone suggest where am I going wrong (in simple terms for a bear of little brain).

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    That link does not go to template download. What template did you use?
    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.

  3. #3
    Windward is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2012
    Posts
    6
    Quote Originally Posted by June7 View Post
    That link does not go to template download. What template did you use?
    The link takes you to a microsoft download for an Acounting Ledger database which is ideal for what I am trying to achieve .......if it worked. I have downloaded it and the balance column in the reports doesn't work. This is exactly the problem I have with my design. The report uses text boxes with formula in the same way as mine.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Very weird link. It takes me to a 'No results returned for access databases' page on the MS site. This time I had that page do a search and comes back with an assortment of databases. One is called 'Accounting ledger database' so I assume that is the one.

    Which two reports do you want to modify?

    Textboxes on reports have a RunningSum property. I have never used it but that might be what you need.
    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.

  5. #5
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by June7 View Post
    Very weird link. It takes me to a 'No results returned for access databases' page on the MS site. This time I had that page do a search and comes back with an assortment of databases. One is called 'Accounting ledger database'. Is that the one you are using?
    June,
    The link worked for me. I downloaded and zipped the mdb. It is in A2K3 format; I have A2K

    Steve

  6. #6
    Windward is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2012
    Posts
    6
    Quote Originally Posted by June7 View Post
    Very weird link. It takes me to a 'No results returned for access databases' page on the MS site. This time I had that page do a search and comes back with an assortment of databases. One is called 'Accounting ledger database' so I assume that is the one.

    Which two reports do you want to modify?

    Textboxes on reports have a RunningSum property. I have never used it but that might be what you need.

    This is the correct database. All the reports show a balance heading and what I was hoping to achieve was a running balance that adds new invoices to the total and deducts payments made in. A running sum text box in a report won't do this as it just keeps adding to the total.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Part of the problem is null fields. Normal math calcs with null return null. Need to handle null.

    Try this on the Account Summary report:

    1. expression in the Balance textbox: =Nz([DepositAmount],0)-Nz([WithdrawalAmount],0)

    2. set Balance textbox RunningSum property to Yes

    3. expression in the Balance sum textbox: =Sum(Nz([DepositAmount],0)-Nz([WithdrawalAmount],0))

    Is that getting close to what you want?
    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.

  8. #8
    Windward is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2012
    Posts
    6
    Many thanks June7

    Exactly what I needed.

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

Similar Threads

  1. Show Running Balance on Data Entry Form
    By hawzmolly in forum Forms
    Replies: 5
    Last Post: 06-30-2019, 03:27 AM
  2. Running balance
    By bka57 in forum Forms
    Replies: 3
    Last Post: 01-22-2012, 07:05 PM
  3. Running balance in a form
    By Ray67 in forum Forms
    Replies: 5
    Last Post: 10-24-2011, 07:43 AM
  4. Replies: 4
    Last Post: 08-19-2011, 01:53 PM
  5. Adding Running Balance from Form to Reports
    By KIDGEO3 in forum Reports
    Replies: 1
    Last Post: 01-18-2006, 08:52 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