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

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

Recommended Posts

Posted (edited)

I cant seem to get a caculation to work. I have attached my relationship graph with this post.

My problem is that on a layout based on Artworks I am able to show AcceptedArtistDetails::cCommissionDec and can also enter CommissionDetails::RequestedAmount which is entered through a related field on the layout. The Requested amount is used in a calculation which is a field within the Artworks table; all works fine. However I have tried to show the result of CommissionDetails::cCommission who's formula is RequestedAmount * AcceptedArtistDetails::cCommissionDec and nothing is displayed.

I have tried storing the CommissionDetails::cCommission calculation as unstored and global.

Screenshots of my calculation and debugging are attached too.

Anybody any ideas

Thanks in advance

Lee

Relationships2.jpg

commission_details.jpg

dataviewer.jpg

Edited by Guest
Added debugging info
Posted

Look at the result type; it's a global. It should be an unstored calc.

Posted

Thanks Bruce

I have tried having the calculation unstored. Changing the result to Global was a last ditch attempt to get the calculation to work. It just so happens to be that the screenshot I took was after I tried that. Sorry for any confusion.

I have also tried changing the field cCommissionDec to a non-calculated field with a constant number....still no joy.

If I have the calculation stored in Artworks everything works fine. I'd rather not hold the calculation there as I would like to conditionally lock the CommissionDetails table using privileges.

Any ideas?

This topic is 5312 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.