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

Recommended Posts

Posted

I have a field that is a calculation field, I have another field that is a check box.

In the calculation field the calculation will look at two other fields if they equal or better the amount that it needs then It returns a Text statement.

all I want the Check box to do is that if that box is checked the statement does not show.

Example

Case(total1 ≥ 3 and total2 ≥ 2 ;"Text")

This will work fine until I through in the additional check box and I cannot get the file to work.

Thanks in Advance.

Posted

Are you saying that this doesn't work:

Case(total1 ≥ 3 and total2 ≥ 2 and checkbox = 1 ;"Text")

Is the checkbox a number? What value list did you use to format it? Is it a single checkbox or does the field hold multiple values?

Posted (edited)

The Check box will return a Yes

It is a single value. The Calculation works, but when I throw in the 3rd element with the additional field I cannot get the right value.

Edited by Guest
Posted

Case(total1 ≥ 3 and total2 ≥ 2 and checkbox = "Yes" ;"Text")

Posted

Case(total1 ≥ 3 and total2 ≥ 2 and checkbox = "Yes" ;"Text")

I need the oppsite. The Statement need to be present if the total of 1 and 2 are True. The 3rd thing is I want the Check box to make the statement false.

I want the checkbox to bypass the calc and show a blank field.

So the calc will show the text if they are true and nothing if they are false. I want to be able to change the text to a blank field when I check the box.

Posted

I need the oppsite. The Statement need to be present if the total of 1 and 2 are True. The 3rd thing is I want the Check box to make the statement false.

I want the checkbox to bypass the calc and show a blank field.

So the calc will show the text if they are true and nothing if they are false. I want to be able to change the text to a blank field when I check the box.

You've got three cases, Checkbox = Yes, fields meet criteria, and fields don't meet criteria (when checkbox is empty). What do you want to happen in the last case?

Case(

checkBox = "yes"; "";

total1 ≥ 3 and total2 ≥ 2 ;"Text";

:)

Posted

Clearly I'm working on a sleep deficit today. I misread the question and thought there was a missing potential result.

I would write it (esp if the total fields were unstored):

Case(

checkBox = "yes"; "";

total1 < 3 or total2 < 2 ;"";

"Text")

Posted

Clearly I'm working on a sleep deficit today. I misread the question and thought there was a missing potential result.

I would write it (esp if the total fields were unstored):

Case(

checkBox = "yes"; "";

total1 < 3 or total2 < 2 ;"";

"Text")

I most likely explaining it wrong.

The Calculation will put the text in the box.

If a person has worked three class and given 2 talks then. He is "eligible" to teach a class.

This part of the calc works. Eligible is the Word the Text puts in the field.

I have a Check box that if it is checked it will override the calculation and leave the field blank.

The Word "Eligible" will not be put in the Field. Therefor allowing me to filter out someone I do not want to teach or he has taught that class before.

Posted

I most likely explaining it wrong.

The Calculation will put the text in the box.

If a person has worked three class and given 2 talks then. He is "eligible" to teach a class.

This part of the calc works. Eligible is the Word the Text puts in the field.

I have a Check box that if it is checked it will override the calculation and leave the field blank.

The Word "Eligible" will not be put in the Field. Therefor allowing me to filter out someone I do not want to teach or he has taught that class before.

I think everyone that has responded to you has (eventually) understood your question. If you make the appropriate substitutions ( the name of the check boxed field for "checkBox", the word "Eligible" for "Text") you will get the behavior you're looking for.

Have you tried that? How is the result different than what you expected?

Posted

I think everyone that has responded to you has (eventually) understood your question. If you make the appropriate substitutions ( the name of the check boxed field for "checkBox", the word "Eligible" for "Text") you will get the behavior you're looking for.

Have you tried that? How is the result different than what you expected?

I inserted the calculation and the result is the Text remains in the box so it did not work.

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