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.

Using "OR" Table Relationships

Featured Replies

  • Newbies

Hey everyone, I have a lot of background with MSSQL and I am missing something that should be fairly basic with regards to table relationships. Using the below picture as reference is there no way to do the following?

FEE::LoanOfficer_Branch = fee_emp_vl_LoanOfficer::Job Title

OR FEE::BranchMananger = fee_emp_vl_LoanOfficer::Job Title

AND Branch = Branch

med_1189609741-Relationships.jpg

Relationships.jpg

You're not missing anything, it isn't there!!!! You need to do it like this:

http://www.fmforums.com/forum/showtopic.php?tid/187182/post/252366/#252366

--sd

  • Author
  • Newbies

Soren, Although I think what you sent me works, I am totally new with filemaker and don't understand some of the advanced query/database definition techniques that you are using...can you give me a bit more dumbed down version? Also I see that both the examples that you give in your link return into portals, I need the list to show up in a dropdown...I think that this is as easy as assigning a different field type.

Edited by Guest

Filemaker doesn't have an "OR" function for relationships. The way to do it is field level.

Create a calculated field:

ManagerOfficer = Fee::LoanOfficer_Branch & :paragraph: & Fee::BranchManager

Then your relationship will be:

ManagerOfficer = fee_emp_vl_LoanOfficer::Job Title

AND

Branch = Branch

Portal or drop down, it does largely depend on how live the stuff is you wish to show in the dropdown, only stored fields can be displayed over a dynamic valuelist, so if you ave some sort of aggregate functins working with your data - are you bound to a portalfull of clickables.

Otherwise is it smooth sailing, design yourself a dynamic valuelist with the relations I made in my first template. But it occures to me that what you wish to optain might be something like this:

http://www.fmforums.com/forum/attachment.php?attid/3285/

--sd

  • Author
  • Newbies

David, thanks, that solution worked...I can't believe that there isn't an OR feature in the relationship management. Soren, thank you also for your input.

I can't believe that there isn't an OR feature in the relationship management

Well it arrived pretty late in the course of event's ....earlier on were we used to permutations over Davids appoach, more or less everything you have in the present relations def. dialog could be done via concatenated combinations of keys.

The most famous is probably Edoshins SmartRanges:

http://www.onegasoft.com/tools/smartranges/index.shtml

Simply because we can exploit the unique feature calc'fields actually is compared to other RDBRS's... could we make all kinds of relational links via hashing algorithms.

Beyond that should someone accustomed to the math of sets, be no stranger to DeMorgans Law!

--sd

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.