Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6539 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

Is there a way to develop an OR relationship?

I have three fields in one database

ProjectOwner

ProjectRequestor

ProjectDelegate

I have one field in the other database

user

I want to display the record in a portal if user = ProjectOwner OR ProjectRequestor OR ProjectDelegate

Ideas?

Edited by Guest
Posted

You can make a fake field that is a list of the alternate fields, then join to that.

AnyUser = List( ProjectOwner; ProjectRequestor; ProjectDelegate )

then join the user field to AnyUser.

Posted

Without getting into reasoning behind why there are 3 fields, and assuming one or more of them is the "user" in question, an "or" relationship can be implemented by putting the IDs (or names, or whatever) in a text field separated by returns. Because a relationship matches when ANY of the return-separated IDs match; in either direction, if both fields can be indexed, or from the non-indexed to the indexed one if not.

A calculation field:

ProjectOwner & ¶ &

ProjectRequestor & ¶ &

ProjectDelegate

This topic is 6539 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.