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

Hi All,

I'm quite rusty with Filemaker and having trouble with the following:

I have 2 database files.

1. ENTRANTS

2. CODES

Entrants has about 1,000 records. The records have a field named CLASS. CLASS is a related field that pulls up information in the CODES Database. I want to display a count of all Classes in a different database file. The new file will be called TASTE.

e.g.

record 1 - CLASS 120

record 2 - CLASS 100

record 3 - CLASS 120

record 4 - CLASS 100

record 5 - CLASS 150

sub summary results yield

CLASS 100 - 2

CLASS 120 - 2

CLASS 150 - 1

There should be one record in the TASTE database for each record in the CODES database. I want to pull the sub-summary information into the TASTE database. Having difficulty getting my head around this. Many thanks in advance.

d

The summary should preferably be done in the "many" section of relation, and then pulling data from the "one" side ... when I say preferably is it because you sometimes wish to have counts of zero...

--sd

You can count related records based on your relationship with Count(RemoteField).

Let's assume that you already have a Taste record for each possible class in your TASTE file. Let's further assume that the name of the class is stored in a field called ClassName in the TASTE table. Let's also assume that you have a Record ID field in both tables (serial number, auto entry).

You should now be able to create a relationship with the following key fields:

TASTE::ClassName = CLASS::Name

Then all you need is a calculation in the TASTE table:

TASTE::ClassName & " - " & Count (AboveRelationship::RecordID)

I wouldn't advice this way without knowing the measure of records attempted summarised.

http://fmforums.com/forum/showpost.php?post/313019/

--sd

Good point. Might be too slow.

The reason I pointed in this direction is, because it sounded like he needs the data in

A) the remote table, and

: on a regular layout in browse mode, as opposed to a report.

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.