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 2703 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

Hello All,

 

I have a problem with my relationship. In my Dashboard I have an alert that will tell me how many materials are expiring & to be retested but my problem is it showing me a  "?"

 

The relationship graph is below

Relationship.thumb.png.002a28eef5210aa4ea8edeb547f10fbc.png

 

 

Dashboard Fields

Constant = 1

Constant Today = Get (CurrentDate)

Global Number = Number field Value is 1

 

Material_Expiring Today

Constant = 1

Material Expiry Date = Date Field

Material Stock = Calculation (Material Quantity Received - Sum ( Material Transactions::Quantity Dispensed )

 

If I change my Material Stock into a Number Field It will show my desired output.

 

Please see attached file that Im working.

 

Any help is highly appreciated.

 

Thank you

 

Materials (2).fmp12

Edited by Lola
Posted (edited)
Quote

If I change my Material Stock into a Number Field It will show my desired output.

That is the correct result. Why is this field involved in the relationship?

And - for that matter; why is CONSTANT involved in the relationship?

Edited by BruceR
Posted

I used the constant in the relationship to match the same record. 

Is there a way that I can make my Material Stock a Number field but still always show my current stock when I change my Quantity Dispense Field? Thank you.

Posted
6 hours ago, Lola said:

I used the constant in the relationship to match the same record. 

This makes no sense.

Posted

I removed the constant in the relationship..still did not change my result still showing "?"

Posted

But you already know this answer. You cannot use the quantity part either, due to the unstored calc.

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