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.

automatcly add data to value list/repeating field?

Featured Replies

Is it possible to define a calculation (or script) that finds records based on a given search criteria and then automatically pastes the results from one field into another field that is repeating? I have a database of 500 individuals that can be grouped into about 300 families according to their family id number. I want to divide the families into two categories (let's say "A" and "Z"). The category to which any given family belongs is based on information only found in the head-parent (be it the mother or father)- which makes it very difficult to apply the category to the children. The only way I can think of applying the same category to the children is to create a repeating field (which holds the same values in all records in the database) that contains all of the family id numbers for category "A"; and then create a calculation that compares these family id numbers against those for the children. If there is a match the child belongs to category "A"; if not, they belong to category "Z". Doing this manually is possible but time consuming and will require constant updating. Can I do it automatically?

Please don't use repeating fields.

Create fields:

ParentCategory (text or number)

ChildFamilyID (text or number, indexed)

Find just the parent records and replace ParentCategory with the appropriate value. Find just the child records and replace ChildFamilyID with FamilyID.

Create a self-relationship matching ChildFamilyID to FamilyID, call it ParentRel.

The Child records now have a category by using the field ParentRel::ParentCategory.

-bd

What a perfect example of when to use an alias. I tend to make things too complex! Thanks for that tid-bit!

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.