Using relations
‎Jul 11, 2019
06:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jul 11, 2019
06:27 AM
Using relations
I want to put a relation which states that the:
IF STRING_LENGTH(SOME_PARAMETER)*3 is greater than 10 and less than 30
I dont understand how to put less than and greater than together
Solved! Go to Solution.
ACCEPTED SOLUTION
Accepted Solutions
‎Jul 11, 2019
07:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jul 11, 2019
07:03 AM
Here's a link to the relation syntax stuff for operators:
The simple answer to your needs is the relation:
IF ( string_length ( value ) * 3 > 10 ) & ( string_length ( value ) * 3 ) < 30 )
This is typical of most computer languages, I don't know of any that let you do things like IF 10 < value < 30 because operator precedence, etc.
2 REPLIES 2
‎Jul 11, 2019
07:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jul 11, 2019
07:03 AM
Here's a link to the relation syntax stuff for operators:
The simple answer to your needs is the relation:
IF ( string_length ( value ) * 3 > 10 ) & ( string_length ( value ) * 3 ) < 30 )
This is typical of most computer languages, I don't know of any that let you do things like IF 10 < value < 30 because operator precedence, etc.
‎Jul 11, 2019
11:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Jul 11, 2019
11:34 PM
Thanks a lot