How to calculate an Unstored Field while in Editing Screen
Posted: Wed Dec 05, 2018 6:55 pm
Hi Guys,
I am wondering if you can give me a tip on a problem I have encountered. I have extended the Project use quite a lot and while entering in the Editing screen I have two unstored fields calculating the MAX dates from portals.
The unstored fields are only calculated when I click the Save button, which results in wrong data in fields that are related and use the first MAX date field to calculate the second MAX due date.
I calculate the finance due date from a portal to a max due date.
This max due date is then used to calculate the settlement due date and the max due date.
On the attached screenshot, it shows the max due date calculated after I clicked Save.
Coming back in the edit screen I added the second line, but the max due date is not updating to 14/2/2019
And the settlement date is using the max due date and calculating wrong because it is not updated, it should be 24/2/2019
So long story short, how can I force FileMaker to calculate the unstored fields without exiting the Edit screen?
I tried to add a commit record script trigger to the portal fields, but no luck.
Any tip would be greatly appreciated.
Thanking you in advance.
Regine
I am wondering if you can give me a tip on a problem I have encountered. I have extended the Project use quite a lot and while entering in the Editing screen I have two unstored fields calculating the MAX dates from portals.
The unstored fields are only calculated when I click the Save button, which results in wrong data in fields that are related and use the first MAX date field to calculate the second MAX due date.
I calculate the finance due date from a portal to a max due date.
This max due date is then used to calculate the settlement due date and the max due date.
On the attached screenshot, it shows the max due date calculated after I clicked Save.
Coming back in the edit screen I added the second line, but the max due date is not updating to 14/2/2019
And the settlement date is using the max due date and calculating wrong because it is not updated, it should be 24/2/2019
So long story short, how can I force FileMaker to calculate the unstored fields without exiting the Edit screen?
I tried to add a commit record script trigger to the portal fields, but no luck.
Any tip would be greatly appreciated.
Thanking you in advance.
Regine