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.

how to I access the value of an unstored calculation of related table for auto-entry calculations

Featured Replies

  • Newbies

Hi,

I have two related tables. In the first table I did calculate the max value of a number field in related records of the second table (max function). This value+1 should be used as an auto-enter value if a new related record in the second table is created. However I did not succeed as apparently the unstored calculation value from the first table is not accessible for the auto-enter if a new related record is created in the related second table.

The final result should be the following:

The first table defines groups (1-m)

The second related table members of groups (1-n)

I would like to create 'names' for group members in the form

The 'trick' using Get(FoundCount) for the members does not work for me, as as soon as a member is deleted one would get redundancy in the names! So, if always the max of n +1 should be used for each new member of group

G1-1

G1-2

. . .

. . .

G1-n

........

G2-1

G2-2

. . .

G2-n

........

Gm-1

Gm-2

. . .

Gm-n

Any idea how I could solve that issue is highly appreciated!

"This value+1 should be used as an auto-enter value if a new related record in the second table is created."

NO! Stop right there. Do not derive key values using a calculation. There are many posts that explain in depth all the pitfalls of such an approach.

I would like to create 'names' for group members in the form

This is where you explanation gets blurred, what is the context and purpose of this?

--sd

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.