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

Recommended Posts

Posted

This Auto-Enter Calcluation does not seem to work.

Result = Case(height<.75;"Restrict"; height>1.25;"Restrict";width>3;"Restrict";" ")

Fields =

Height

Width

Result

This does work:

Result = Case(height<.75;"Restrict";width>3;"Restrict";" ")

But I need the full calculation to restrict if the first measurement is shorter than .75 and taller than 1.25.

Any help would be greatly appreciated.

thanks,

Steve

Posted

In our universe, a number can't be both less than .75 and greater than 1.25 (you must have meant OR rather than AND). The calc works fine as written. Make sure your height field is a number field and the result field is text. Also try unchecking the "do not replace" checkbox in the auto-enter options.

Posted

It still seems to ignore the second parameter.

If I type:

Case(height<.50 or height>1.25;"restrict";width>3.00; "restrict"; " ")

The result I get in the populated fied is if I enter size smaller than .50 it restricts as it should, but if I put in a height larger than 1.25 I get no return at all.

it seems like any statement other than the first is not evaluated.

Any help?

Thanks,

Steve

Posted

Oh right, sorry Fitch, i don't think i was paying attention to what i was saying.

Anyway Baylah, try the following:

If( height < 0.5 or height > 1.25 or width > 3; "restrict" ; " " )

My guess is with the quotes everywhere, you may have accidentally commented out some of the tests?

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