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.

Many to Many problem - my first join table?

Featured Replies

Hello all,

I'm working on a new database solution for the city's inspection department, and I've hit a bit of a snag.

Untill now, all of the departments data has been in numerous flat files, no relationships whatsoever. I've been reworking some of the files to include relationships, and have added many features that speed the work flow.

On this new solution, I'm trying to figure out how to build more functionality into the violation tracking and letter writing features. This is a completely new system for a new department, so I have the ability to start from scratch. I've hit a snag on how to structure a portion of the system.

Here's the basics:

I need to track violations found during yearly inspections, and I need to track letters sent to the owners, notifying them of these violations.

My entities thus far are:

Dwelling Unit

Inspections

Violations

Letters

I seem to have one-to-many figured out between Dewlling unit and inspections, and inspections and violations. The problem lies with violations and letters.

A single letter will have many violations. A violation may be referenced in many letters, if the owner does not comply on the first notice.

Seems like a join table is in order - but I cannot quite figure out how to make this work.

Any guidance/suggestions/thoughts would be greatly appreciated!

There are a coupe methods for making letters a bit more abstract.

having a library of letters that uses merge style fields to grab data from the other tables.

http://proofgroup.com/fmspark

http://www.nightwing.com.au/FileMaker/demos9/demo913.html

if the only functionality need at this point to reference all related violations in a letter a return separated list "multikey" of the ID for the violation could be stored in the letter.

a better method would be to have a simple join table between them but depends on the complexity and goals of the solution.

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.