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.

More than one field to relate

Featured Replies

Hi, may be just discussed but I'm not able to search it, apologise me.

Here it goes. I do have a simple database file in which are stored the contacts of my company, among other fields there are their phone number in one field and their cel number in another field.

On another databse file, I get the data from our PBX (central telephone). This PBX will generate a txt file with calls made from inside to outside.

Now I want to build a relation, so that when the phone number in the PBX based will display, it will show the name of the person to which it belongs getting it from the first database. It's pretty simple so far. The problem comes because I want to relate it with the cell number too. The schema will be like this:

Call ID - is the field in the second file with the number been called

CellNum - is the field in the first file with cell number

TelNum - is the field in the first file with tel number

To build my relation i thought of sth. like this:

Call ID = CellNum or Call ID = TelNum

But in the FMP7 instead of "or" when you want to add a relation it goes "and".

Any idea how to work around with this?

Thank you in advance, Toni

You can create relation by or operator with the help of calculation.

First define a calculation field which is equals to:

CellNum &"return character"&TelNum

Then build your relation as like this:

CallID = New_Calculation_Field

  • Author

Uau, thanks a lot.It worked

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.