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

  • Newbies

Good Day,

 

I am trying to add several records from one table in another record, in another table.

 

This DB is based on a process that has two steps. From Step 1 to step 2, some records need to be merged.

 

Table1 is 50 records, one field in particular is ItemID, one is ItemAmount.

On Table 2, I have 0 records and I have a some fields similar to Table1, so I am populating them with lookup. The relationship is based on ItemID.

So far so good.

 

But some records on Table1 now need to be merged to one record in Table2, in particular, the ItemAmounts need to be summed to generate Table2::ItemAmount...

 

I want the user populating Table 2 to specify the ItemID's from Table1 to be merged (summed), they can need to merge 1, 2, 3 or up to 10 Items from Table1.

 

I have tried TypeSumField, scripts, multiples relationships, functions, but...

I am completely lost to even what feature of FM should be used here... portals ? beuh...

 

thanks for your precious help,

 

JP

 

Not exactly sure what you want, but this might give you a start. File has only basic error-checking; e.g. depending on your business rules you may want to make sure that an item isn't summarized multiple times, i.e. flag it and prevent the script from running again, plus all the usual cautionary measures.

SumThisUp_eos.fmp12.zip

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.