Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Cannot get 'Sum" field to update automatically


This topic is 6641 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have an invoice file, line item file and customer account file. In the customer account file I have an "Account Balance" fieldd which is defined as Sum(Invoice::Balance). If a payment is made on the invoice and the balance changes, my "Account Balance" will not change automatically. It still shows the total prior to the payment.

Any ideas what I can be doing wrong?

Posted

If a payment is made on the invoice and the balance changes

This puzzels me quite! You make payments ON an invoice?? It can be done by having two types of documents distincted by an attribute in the invoice table: invoices as such and payments, but I would rather call the table transactions, according to the transaction type, will you be able to itemlines attached or not. The field Sum(Invoice::Balance) resides in the customer table.

Perhaps you better explain me where your problem differes from this thread: http://fmforums.com/forum/showtopic.php?tid/182120/post/229222/hl//

--sd

Posted

Ah! Then are we at Todd's answer, the two Sums( from each relation should then be unstored calcfields... and please note that they can't be Summary fields from the related tables via GetSummary( since:

http://network.datatude.net/viewtopic.php?t=128

--sd

Posted

They are both uncalc fields. Maybe I should have mentioned that this was previously a FM6 solution that worked perfectly. I have converted it to FM8 and I am going through all of the screens and scripts to correct some things that did not convert correctly. I don't know if that helps or not. In my customer file I have a portal that displays all of the invoices for that customer that have a balance. The balances in the portal are correct but I cannot get them to add up correctly.

This topic is 6641 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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