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

I have created a summary field which shows a number - say $434,567. I want the field to return $435 eg thousands of dollars. Not really clear how to do this... many thanks for any help.

Hi enquirerfm,

This will work for the data you presented.

Left ( number ; Position (  amount ; "," ; 1 ; 1 )  - 1 )

or

Right( Left( Round( amount ; 0 ); Length( Round( amount ; 0 )) - 3 ); 3)

Try this Calculation, it was provide by comment.

It's very versatile, all you have to do is change "n = 1" (n = 2 or n = 3 etc. ) to extract a different part.

Let ( [
YourField = amount ;
n = 1 ;
t = "," & YourField & "," ;
start = Position ( t ; "," ; 1 ; n ) + 1 ;
end = Position ( t ; "," ; 1 ; n + 1 ) 
] ;
Middle ( t ; start ; end - start )
)

HTH

Lee

With the reasonable assumption that the Summary field is a number field  (with the comma inserted by the Inspector for display), you could use

Int(YourSummaryField/1000) 

Lee's answers are all based on the field being a text field with the comma being actually part of the data, which I would not expect in a Summary field.

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.