Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

I am having a problem where $$Variable is evaluating as less than Table:Field where it shouldn't.  For example Table:Field is 65 and $$Variable is 100.  Anything up to $$Variable=99.9999999 will evaluate as greater than 65, but any 3 digit entry (100 or above) evaluates as less than 65.

Table:Field is a number, the only way I could see this happening is if $$Variable is typed as text, but I cannot control it. $$Variable is entered in a Custom Dialog Box.

Posted

Try GetAsNumber ( $$variable) before you perform any math operation on the amount, FileMaker defaults variables as TEXT it does it's best to cast the value based on if it was coming from a known data type.

Quote

The data type of a variable is determined dynamically based on the assigned data. Variables have the same data types as fields, except for calculation and summary fields.

 

You also may need a custom function to format a variable string to display properly in a text string of a custom dialog box.

This topic is 1900 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.