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.

Export related records

Featured Replies

As an example I have a Customes table. The main fields in that table are Name & Address. In a related table are individual contacts. The main fileds there are FirstName,LastName,Email. Each customer has multiple contacts.

I want to export the data from the Customers table as a tab delimted file to be opened in Excel. Each line (record) in the .tab file should include all of the fields noted above. So, the .tab file should look like this:

Name,Address,FirstName,LastName,Email

Name,Address,FirstName,LastName,Email

Name,Address,FirstName,LastName,Email

Name,Address,FirstName,LastName,Email

However, when I do the export, FMP exports a record from the customers table and separate records for each of the customer contacts. So the .tab actually looks like this:

Name,Address

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

Name,Address

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

Name,Address

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

, ,FirstName,LastName,Email

Is there a way to make FMP join all of that data on export so it is formatted like the fist example?

Export from the related table. Your export field list should look similar to below:

Customers::Name

Customers::Address

Contact::FirstName

Contact::LastName

Contact::Email

  • Author

Ok, got it. I have to add the releated fields from the Customes table (Name, Address) to the layout for the related table that I will export from.

Easy enough just not obvious at first I guess.

Thnx

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.