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.

Relationships with repeating fields

Featured Replies

The way I understand it, you can perform a relationship where you can relate to any of the values instead of all of the values by using a repeating field. (Please post any other way to accomplish this)

I have 2 tables one categories and one items. I'd like to be able to show a portal with items from more than one category based on someone choosing several categories.

I believe a checkbox field would do this and would place the selections in a repeating field?

But I really have too many categories to put in a checkbox list. I'd like to base the selection (and repeating field) on a yes/no button for each category in a portal.

I'm wondering if there is a way to do this.

Are you sure you only have two tables ?

I'm guessing that each item is assigned a single category. And that each item is related to a 3rd table and it's this 3rd table that you want to be able to view a subset of the related items from ?

BTW It wouldn't be a repeating field, it would be a text field with values separated by carriage returns.

I've included a demo filter of how to filter your records in the method you described. If you notice the checkbox options only include values which relate to that record, it may be that this would keep your checkbox options down to a manageable level ?

Test2.zip

One point in this technique is to avoid the join table in a many2many relation - the advantage is that if the repeating field is a calc'field is it much faster than generating join-records and zap them again if the relationship changes.

Example a start and end data in one table, can produce a repeating field that links all other collapsing events in a selfjoin, since they carries a set of matchfields as well. Previously didn't we have the Get(CalculationRepetition) or fieldcontent sizes beyond 64K ...so a clever russian developer can up with this hashing algorithm:

http://www.onegasoft.com/tools/smartranges/index.shtml

That made it posible to stuff any kind of date range inside the bounderies of a odinary indexable field.

I'm using multilinekeys and repeating fields in vain here, since they shares funktionality. With the introduction of CF (custom functions) did it become posible to recursively to make a strainerlist wich is used in this template:

http://www.nightwing.com.au/FileMaker/demos7/demo705.html

But By and large is it same technique or variations on it.

--sd

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.