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.

Relationship in Form

Featured Replies

Sorry this is probably a really stupid question but I have just started using Filemaker having always used Access in the past and I am just starting to get to grips with it.

I have a database with two tables, Companies and Jobs.

Each table has a key field which is an auto number Companies ID and Jobs ID respectively.

The Jobs table also has a foreign key of Companies ID which is connected in a one to many relationship to the field of the same name in the Companies table.

What I would like to do is open the jobs form from the companies form so that it automatically creates a new record with the Companies ID field in the Job table populated by the relevant information from the Companies table.

I hope this makes sense.

John

Makes perfect sense.

There are at least 3 methods to create child records:

1. Allow creation of children directly in a portal by enabling "Allow creation" in the relationship.

2. Give the user a New Child button and use variables to populate the parent foreign key.

3. In a child record, give the user the ability to set the parent foreign key. If the list of possible parents is short, a popup menu is OK. Otherwise, use another method. For example, give them a popup window of parents in a list view, or filtered portal.

I've attached a demo that includes all three methods(although you should have either the New Job button or access to edit in the portal, but not both).

Topic_192215.zip

  • Author

Thank you so much. This make total sense and is very helpful.

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.