# Syntax for condition between two values

**URL:** <https://community.easymorph.com/t/syntax-for-condition-between-two-values/699>\
**Category:** General Q&A\
**Created:** [September 6, 2018, 7:43pm UTC](https://community.easymorph.com/t/syntax-for-condition-between-two-values/699 "2018-09-06T19:43:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Lipschitz](https://community.easymorph.com/user_avatar/community.easymorph.com/robert_lipschitz/32/434_2.png) [@Robert\_Lipschitz](https://community.easymorph.com/u/Robert_Lipschitz)\
**Post date:** [September 6, 2018, 7:43pm UTC](https://community.easymorph.com/t/syntax-for-condition-between-two-values/699/1 "2018-09-06T19:43:12Z")

</div>

How do you write a basic condition (e.g. whether to calculate a table) to achieve something like

0\>[FieldX]\<=6

?

---

<div class="post-metadata">

**Author:** ![Robert\_Lipschitz](https://community.easymorph.com/user_avatar/community.easymorph.com/robert_lipschitz/32/434_2.png) [@Robert\_Lipschitz](https://community.easymorph.com/u/Robert_Lipschitz)\
**Post date:** [September 6, 2018, 7:44pm UTC](https://community.easymorph.com/t/syntax-for-condition-between-two-values/699/2 "2018-09-06T19:44:52Z")

</div>

Sorry, I keep doing this - its

[Total columns]\>0 and [Total columns]\<=5

right?

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [September 7, 2018, 12:10pm UTC](https://community.easymorph.com/t/syntax-for-condition-between-two-values/699/3 "2018-09-07T12:10:57Z")

</div>

That's correct.
