Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Running Balance with Custom Functions

Featured Replies

To show a Running Balance of a sorted portal without scripting was not possible with FileMaker 6. The Troi Number Plugin solved this problem. Is it possible to solve this problem now with a custom function?

The function is very handy for reconciliation of a bank account (Debit/Credit => balance).

  • 2 weeks later...

Assuming that the sort is by date, and the portal relationship is ID = ID, could you use the sum function with a self relationship in the related file

ID = ID

and date => date?

If anyone is interested I put together a little demo based on my previous post on this.

Nice demo but it doesn't work if there are multiple items on one date.

Your right, missed that but it is an easy fix. In Line Iterms create a calculated text field Date_Line_Number = GetAsText ( Order_Date ) & " " & Line_Number. Use this in the relationship in place of date.

I have changed the calculation again. I am now using Date_Line_Number = GetAsText ( GetAsNumber ( Order_Date ) & " " & Line_Number fro the key in the relationship.

  • 1 year later...
  • 2 weeks later...

I am uploading another copy of my file. The ony change is the name. I removed the spaces.

RunningTotal1.fp7.zip

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.