ralph.nusser Posted May 17, 2004 Posted May 17, 2004 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).
RalphL Posted May 27, 2004 Posted May 27, 2004 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?
RalphL Posted May 28, 2004 Posted May 28, 2004 If anyone is interested I put together a little demo based on my previous post on this.
bruceR Posted May 29, 2004 Posted May 29, 2004 Nice demo but it doesn't work if there are multiple items on one date.
RalphL Posted May 29, 2004 Posted May 29, 2004 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.
RalphL Posted May 30, 2004 Posted May 30, 2004 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.
ralph.nusser Posted July 22, 2005 Author Posted July 22, 2005 Ray Cologon has another example of Running Balance: [color:blue]Running Balance Example Read the discussion at: [color:blue] Discussion Ray Cologon about Running Balance ;)
RalphL Posted August 3, 2005 Posted August 3, 2005 I am uploading another copy of my file. The ony change is the name. I removed the spaces. RunningTotal1.fp7.zip
Recommended Posts
This topic is 7052 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now