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

Dear all,

I have 2 tables

main Table

Names Total sales

2nd table

Items Names total Value

2nd table::total value is a calculated field through some self joint relationship.

i am trying to make a script to capture the total value and setfield to Main Table::Total sales by matching the names

ofcourse this is a simplified version of the table. it is on a 50k records database.

I am doing this is because i am trying to switch over from all unstored calculation fields to script based batch run so that i can increase the performance of the database because it is really slow now.

regards

Your description is a bit unclear. Apparently, you have two tables that are related by a "Name" field. This will be a problem for you in the long run. What if there are two records with the same name? What if the name changes? It is best to assign each record a unique ID. Then, relate the tables using that ID.

In the second table you seem to have a list of items and their "value." To calc the total value of all items that relate to the record in the first table use Sum ( relationship::total value).

Perhaps you'd like to expand a bit on your setup.

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.