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.

Portal to MySQL table

Featured Replies

I've got a FM layout with a portal I want to show related rows from a MySQL table.

It works fine as long as the relation is based off a "single" entry.

FM field has "Open" in it

MySQL field has "Open" in it

My problem is I'd like to expand this to show fields with one of two values, such as "Open" or "Pending"

Only way I can think is with another FM table with a calculation in it, but that calc can't be used in a relationship (non-indexable)

The parent side of a relationship can have an unindexed field.

But if you want an "or" relationship, you need a multi-key in the parent side. In your case, a FM field that has:

Open

Pending

in the field (carriage returns). That'll match all records in the child with either Open or Pending in the match field.

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.