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

Is anyone aware of the relative merits (speed, size, etc.) of using the Sum function versus simply adding fields together?

For instance, is there an advantage of using:

Sum( field1, field2, field3, field 4 )

instead of

field1 + field2 + field3 + field4

?

Thanks,

Chuck

Maybe on Monday I'll make a database and test it out. How does this methodology sound:

Db with lots of records has two calculations fields, one sum() one (+) both set to unstored. Create a script that enters current time into global field, performs find on sum field, records time into global field, performs find on (+) field, enters current time into global field.

Sound OK?

Wow, You learn something new every day. I never realized that the Sum Function works with commas and actually Sum's up all the fields.

I have actually gone to the extent of Sum(field A) + Sum(field : etc.

Will wonders never cease! smile.gif

Chuck, this is total speculation, but since Sum() is context sensitive and may act across fields in the same record, related records, etc., I'd guess that plain ole + and - are faster. The use of Sum() also makes your solutions harder to understand. -bd

I know that this is not helping the original query but it is a related query that I have and I was wondering if anyone can help me.

I am trying to create a field that will calculate the sum of a value in a field for all the records in the file. I know this is available by creating a summary field but there is so many records in my file this slows my database down considerably when opening it.

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.