Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4868 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm looking to create a field in an invoice solution that will parse and evaluate math expressions on the fly. For example, I would like to be able to enter in the "Quantity" field, an expression such as 19+123, or 37.56/7, and have the field automagically convert it to the appropriate result. Any ideas on how to do this? Is there a custom function or plug in for this?

Thanks much,

George Page

seabreezefarm.net

  • Newbies
Posted

You could use the Evaluate() function for this. However, you need to provide for user entering a non-valid expression.

Nice! That works great. Is there a generic provision for evaluating the non-valid expressions?

  • 3 months later...
Posted

I'm making a DB that you can put a formula into and it will evaluate it, the only problem was I did'nt have any way to see if it was valid this helped a lot.

:thankyou2:

This topic is 4868 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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