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.

Calculated fields and summary field?

Featured Replies

I am confused as to how to find the running total of a field. I have a DB called BPriceList which has the fields of price, quantity and cost.

How do I keep a running total without having to create a script go through a loop of 600+ records and adding all the cost in each record.

When I created a layout for summary printing of items bought, the layout setup asked me to create summary fields, one summary field for the category, another summary field for the type and a summary field the overall cost called total_cost. (the category summary field is just the sum of the types in each category and the total_cost is just the overall sum - of all cost.

But when I view the value of the total_cost field, it is zero.

I tried using the GetSummary function(total_cost, total_cost), it is still zero.

Also when a field is a calculated field, when is the actual calculation carried out?

I'm lost....

confused.gifconfused.gif

Summary fields behave differently depending on what type of layout PART they are on. On a Trailing Grand Summary, you will see summary fields in Browse mode. A Subsummary part, you'll only see in Preview or when you Print.

Another option is to use a self-join relationship. Create a calculated number field called One that = 1. Create a relationship, One::One. Then create your totals, Sum (One::Price), Sum (One::Quantity), etc.

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.