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.

0.00 is greater than 0 in text field

Featured Replies

Any idea why 0.00 is greater than 0 when it is in a Text field? When I do a Replace Field Contents   

 

If ( Table::f2 > 0 ; something happens )

 

and Table::f2 is a Text field, it evaluates as greater than 0 and "something happens". Why?

Solved by daveinc

Go to solution

0.0 is > 0 exactly as A.A is > A: they sort that way when in a text field.

 

Try: 

 

If ( GetAsNumber ( Table::f2 ) > 0 ; something happens )

  • Author
  • Solution

Raybaudi,

I have a script with 256 Replace lines in it for 256 fields. I was trying to not have to do all of the editing. I just changed the text field to number 256 times, slightly easier than changing all of the Replace lines. It defaulted to text field type because of the original import from a tab file. Thanks for the reply.

I have a script with 256 Replace lines in it for 256 fields.

 

I suggest you re=examine your structure - it sounds like you should have 256 related records instead.

It defaulted to text field type because of the original import from a tab file. Thanks for the reply.

 

Make a backup of the file, then change the field(s) from text to number type. See if the problem is solved.

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.