# Should Automatically Evaluate be on by Default?

**URL:** <https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026>\
**Category:** Lounge (Discussions)\
**Created:** [March 11, 2024, 1:47am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026 "2024-03-11T01:47:25Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [March 11, 2024, 1:47am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/1 "2024-03-11T01:47:25Z")

</div>

![autoeval](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/c/cc418c4b5bb2557676f8accff71da9e09f0eef5f.png)

* * *

I've changed my settings in the Data Viewer to OFF recently - and I'm wondering why I didn't do this years ago.

What does your checkbox for "Automatically Evaluate" look like in the Data Viewer?

_Poll ([view on site](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/1))_

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [March 11, 2024, 5:58am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/2 "2024-03-11T05:58:25Z")

</div>

Once in development of a new version of FileMaker, they did auto evaluate as default. We argued with Claris that we need to not have auto evaluate since plugin calls in the calculation can have side effects. So I want to type the whole calculation and press the button when I am finished.

Simply imaging calling a Delete function and typing the path to just delete whole folders instead of one file.

---

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [March 11, 2024, 7:26am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/3 "2024-03-11T07:26:56Z")

</div>

> [@MonkeybreadSoftware](#):
>
> imagine calling a Delete function...

Often, the values stored in the data viewer created a new set of "false problems" when I was testing. I learnt that it was only safe to store read-only functions but I had not turned off the "automatically evaluate" switch.

Some months ago, I switched evaluation off because I was doing a particularly taxing calculation. I took me a while to realise how much safer it was to have the switch off. Now it is off permanently.

---

<div class="post-metadata">

**Author:** ![mipiano](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/mipiano/32/1074_2.png) [@mipiano](https://the.fmsoup.org/u/mipiano)\
**Post date:** [March 11, 2024, 7:32am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/4 "2024-03-11T07:32:13Z")

</div>

I have to admit, it was ON for me. That's why I voted the way I did. But now I've changed it: The switch is now set to OFF.

Thanks for bringing this up @Malcolm

---

<div class="post-metadata">

**Author:** ![cheesus](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/cheesus/32/182_2.png) [@cheesus](https://the.fmsoup.org/u/cheesus)\
**Post date:** [March 11, 2024, 7:59am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/5 "2024-03-11T07:59:28Z")

</div>

Normally "ON" makes more sense for me, since I don't have to click every single time I want to see a result. That would be too annoying for me. But I switch it OFF, when I test a SQL function, because it can massively slow down the input.

---

<div class="post-metadata">

**Author:** ![villegld](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@villegld](https://the.fmsoup.org/u/villegld)\
**Post date:** [March 11, 2024, 10:29am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/6 "2024-03-11T10:29:37Z")

</div>

Voted OFF.

I usually code calculations in data viewer (watch) and for example if some loops (while, cfs) have bugs like endless loops they can crash fmp or at least stall it. So it is safer to have it off. Sometimes i turn it on temporarily.

---

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [March 11, 2024, 1:49pm UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/7 "2024-03-11T13:49:53Z")

</div>

Thank you guys for this discussion. Automatically Evaluate can be a pain when you debug a calculation that fails. Turning it off brings more advantages than inconveniences.

---

<div class="post-metadata">

**Author:** ![jwilling](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/jwilling/32/256_2.png) [@jwilling](https://the.fmsoup.org/u/jwilling)\
**Post date:** [March 11, 2024, 11:07pm UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/8 "2024-03-11T23:07:14Z")

</div>

Automatically Evaluate gets me when I'm freehanding a `Let` calc that sets $$ variables.

When writing this:

```js
Let ([
	$$hello = "world"
];
	$$hello
)

```

I end up with a data viewer like this:

```js
$$ = "world"
$$h = "world"
$$he = "world"
$$hel = "world"
$$hell = "world"
$$hello = "world"

```

---

<div class="post-metadata">

**Author:** ![planteg](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/planteg/32/627_2.png) [@planteg](https://the.fmsoup.org/u/planteg)\
**Post date:** [March 12, 2024, 12:18am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/10 "2024-03-12T00:18:24Z")

</div>

> [@jwilling](#):
>
> I end up with a data viewer like this:
> 
> ```auto
> $ = "world"
> $h = "world"
> $he = "world"
> $hel = "world"
> $hell = "world"
> $hello = "world"
> 
> ```

What is this ?

---

<div class="post-metadata">

**Author:** ![jwilling](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/jwilling/32/256_2.png) [@jwilling](https://the.fmsoup.org/u/jwilling)\
**Post date:** [March 12, 2024, 12:54am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/11 "2024-03-12T00:54:24Z")

</div>

The data viewer evaluates on every keystroke so every letter I type in the variable name(hello) gets set to the value "world" (assuming the rest of the expression is valid fm syntax of course)

Just another gotcha with auto-evaluate

---

<div class="post-metadata">

**Author:** ![wonfuji](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/wonfuji/32/386_2.png) [@wonfuji](https://the.fmsoup.org/u/wonfuji)\
**Post date:** [March 12, 2024, 2:50am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/12 "2024-03-12T02:50:43Z")

</div>

Was on, now off.

---

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [March 12, 2024, 3:31am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/13 "2024-03-12T03:31:30Z")

</div>

> [@jwilling](#):
>
> I end up with a data viewer like this:
> 
> ```auto
> $$ = "world"
> $$h = "world"
> $$he = "world"
> $$hel = "world"
> $$hell = "world"
> $$hello = "world"
> 
> ```

World's slowest Typist  
🏆 🐌 ⌨

---

<div class="post-metadata">

**Author:** ![jwilling](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/jwilling/32/256_2.png) [@jwilling](https://the.fmsoup.org/u/jwilling)\
**Post date:** [March 12, 2024, 3:52am UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/14 "2024-03-12T03:52:06Z")

</div>

🤣 hey cut me some slack, I just switched to a mechanical keyboard and totally suck at typing lately!

---

<div class="post-metadata">

**Author:** ![flybynight](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/flybynight/32/1023_2.png) [@flybynight](https://the.fmsoup.org/u/flybynight)\
**Post date:** [March 12, 2024, 9:52pm UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/15 "2024-03-12T21:52:17Z")

</div>

I need a vote for "it depends"… I often leave it on for convenience. But there are definitely times when I turn it off. Particularly when testing "expensive" SQL calcs and the like.

But then I leave it off and the next time I go to use is I wonder why my simple calc isn't working! 🤣

---

<div class="post-metadata">

**Author:** ![rivet](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/rivet/32/1727_2.png) [@rivet](https://the.fmsoup.org/u/rivet)\
**Post date:** [March 12, 2024, 10:47pm UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/16 "2024-03-12T22:47:30Z")

</div>

using an app like [Keyboard Maestro](https://www.keyboardmaestro.com/main/) can assign a hotkey to the evaluate button

---

<div class="post-metadata">

**Author:** ![weetbicks](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/weetbicks/32/206_2.png) [@weetbicks](https://the.fmsoup.org/u/weetbicks)\
**Post date:** [March 13, 2024, 7:31pm UTC](https://the.fmsoup.org/t/should-automatically-evaluate-be-on-by-default/4026/17 "2024-03-13T19:31:43Z")

</div>

Always on, I never write inefficient calculations 🙂
