Jump to content

OR Relationship


CCBtx

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

Recommended Posts

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 6241 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.