Skip 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.

sort checksum

Featured Replies

I have a list of line items with a sort field, that should number the record sequentially starting at 1.

On record commit, I want to check that the sort numbers are sequential and if not run a script to number them so.

 

I figure there might be a formula that could check the sum of the sort column against the number of records.

 

i.e.:  if there were 8 records, the sort sum should equal 36.

 

Sort# Sum 

01  01

02  03

03  06

04  10

05  15

06  21

07  28

08  36

09  45

10  55

The formula is ( 1 + x ) * x / 2

I figure there might be a formula that could check the sum of the sort column against the number of records.

 

The sum of the sort column returning the expected result does NOT necessarily mean that the records are numbered sequentially starting at 1. Why don't you use a summary field or record number to number them dynamically?

  • Author

Thank you both suggestions are helping.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.