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.

Finding records via a related Attributes Table

Featured Replies

HI - I wonder if anyone could offer advice on scripting a find where the search criteria are stored as related records in an Attributes table. (Using a main table with an associated attributs table is something I learned about on Matt Petrowski's FileMakerMagazine website.)

This is within a database that will catalog real estate records (Documents) that are on file in a county courthouse. Every Document is stamped with a reception number that is unique to the county where it is recorded. In scripting my find, I have to account for the fact that some states may have counties named the same, and some counties may have documents recorded with the same reception number.

For tables, I am using Documents and DocumentAttributes, which are related one to many based on the id_document field.

The fields in the DocumentAttributes table are:

id_document (the foreign key)

type (the type of attribute; in the instance of a recording, the type is 1)

value

groupID

In the case of a recording, each is comprised of several elements which are stored in the value field in separate records:

date

receptionNumber

county

state.

In order to show these records belong to a common recording, they each share a groupID.

So I need to search based on reception number, county and state. Searching on a receptionNumber is easy enough but then I get stuck trying to figure out which found record belongs to a group with the correct county and state.

Any advice would really help.

Thanks,

Tom

After you perform you initial find request you may need to perform a second find but constraining the found set to the group ID.

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.