Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hey Gang;

just was wondering why would you use the "Evaluate function in this "


 

Case (

Get ( SortState ) = 0

or Get ( SortState ) = 2;

Evaluate ( "Let ( " & ~sortVarIndicator & " = " & Quote ( "" ) & "; False )");

 

~isSameSortField and Get ( SortState );

Evaluate ( "Let ( " & ~sortVarIndicator & " = " & Quote ( ~sortIndicator ) & "; True )");

 

instead of only just using the let ( ) function.

- sometimes i dont know why i should use Evaluate & just Let () .

can someone explain?

-ian

why would you use the "Evaluate function in this "

You probably wouldn't. It's hard to say anything more definite without having the context.

  • Author

Comment; My question was why would you choose to use the Evaluate function vs. just using the Let Funtion.

I know in some cases you want your calcuated field to be a let function sometimes and in a custom function you would use

the evaluate function to encapsulate your calculated field. Or is this all just nonsense or am i just not making sense. I am trying to figure out when to use evaluate in teh proper context..

-i

why would you choose to use the Evaluate function vs. just using the Let Funtion.

You would use the Evaluate() function when the formula is not known in advance.

For example, you could give users the choice to select either "+" or "-" in a Operator field, and calculate either the sum or difference of two fields as =

Evaluate ( NumberA & Operator & NumberB )

In practical terms, the need for Evaluate() is rare. The Let() function, BTW, has nothing to do with this.

Nicely explained.

Just as an example, I've used custom functions constructed with Evaluate and Let when I want to pass name/value pairs as a script parameter, where I want to achieve something like:

Let( *some string of name/value pairs not known in advance* ; result )

Evaluate is AFAIK the only way to do that.

  • Author

Thank you for the nice explanation Comment..

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.