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

Recommended Posts

Posted

I want FieldB to autoenter "n/a" whenever FieldA changes, regardless of what it changes to.

Thought I'd do this with Evaluate.

So I gave FieldB the calculation

Evaluate("n/a";[FieldA])

The result I get is usually "?" in FieldB. Though I seem to recall getting a "0" once and a "1" once.

So... I'm obviously not clear on the Evaluate concept.

Advice?

Posted

The reason why this is not working is that Evaluate() tries to evaluate the string "n/a" as a formula. What you wanted is:

Evaluate ( Quote ("n/a") ; FieldA )

A simpler way to achieve the same result would be:

Let ( trigger = FieldA ; "n/a")

Posted

Thanks. The Case (actually I did it as an If) approach is what I ended up putting in the other day temporarily and it works well enough, but I was interested in understanding Evaluate better.

I like the brevity of the Let calculation. Thanks for that.

Anybody know of a good thread or other place to read up on all the ins and outs of Evaluate? I did some searching here but haven't used the magic keyword combination yet apparently. Not finding much.

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