# Get ( LastError ) not functioning well

**URL:** <https://the.fmsoup.org/t/get-lasterror-not-functioning-well/3217>\
**Category:** Floating Topics\
**Tags:** scripting\
**Created:** [November 24, 2022, 10:10am UTC](https://the.fmsoup.org/t/get-lasterror-not-functioning-well/3217 "2022-11-24T10:10:45Z")\
**Posts on this page:** 2\
**Page:** 2

<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:** [November 26, 2022, 3:43pm UTC](https://the.fmsoup.org/t/get-lasterror-not-functioning-well/3217/21 "2022-11-26T15:43:00Z")

</div>

> [@bdbd](#):
>
> > If you do not specify a calculation or if the calculation is unsuccessful, it will evaluate as false. Use the [Get(LastError) function](https://help.claris.com/en/pro-help/content/get-lasterror.html) to capture these errors.

I think the Claris docs are wrong or outdated. I cannot cause Get(LastError) to be \<\> 0 with either empty or invalid calculations (e.g. missing field).

---

<div class="post-metadata">

**Author:** ![bdbd](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/bdbd/32/620_2.png) [@bdbd](https://the.fmsoup.org/u/bdbd)\
**Post date:** [November 26, 2022, 4:03pm UTC](https://the.fmsoup.org/t/get-lasterror-not-functioning-well/3217/22 "2022-11-26T16:03:57Z")

</div>

Same here.

[Previous page](https://the.fmsoup.org/t/get-lasterror-not-functioning-well/3217.md?page=1)
