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.

Benginer Question about Relationships

Featured Replies

  • Newbies

Hi there,

First excuse my english because its quite poor. I tried to find the solution of my problem, but I can´t find. Perhaps its too simple...

Here is it:

- I have two different filemaker databases, one for contacts and other for invoicing. I want to use my contacts data with my invoices and i don´t want to type in all invoices the same data i have in contacts.

How can I do it?

Thank you and sorry for simple question.

You need to relate the two tables using the Contact key. A key is a field that usually is an auto-entered serial number and is unique to all the records in the table. It is often named, __kP_EntityID. So, in Contacts you'd have __kP_ContactID and in Invoices you'd have _kF_ContactID, which is the foreign key. Then relate the two tables by Contacts::__kP_ContactID=Invoices::_kF_ContactID.

On the Contact Form, you could have a button "New Invoice" attached to a script that captures the __kP_ContactID into a variable $ContactID, switches to an Invoice Form layout, creates a new record and sets the _kF_ContactID to the variable, $ContactID.

Once the Invoice has the _kF_ContactID set, then any fields from the Contact table that are on the Invoice Form will display the respective Contact data. These fields must come from a Table Occurrence that uses the Invoice to Contacts by ContactID relationship.

I suggest reading a bit of FM's user guide or help on building relationships.

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.