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 4090 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

HAving difficulty getting this to work:

have table of records each with a from and to date.

have global from and to dates. 

have a clac field in each table record (isConcurent?) set to yes/no if the from and to dates of the table record fall anywhere within the global date range.

have a relationship in table based on global field containing "yes" as equal to "isConcurrent?"

 

I want to on a layout for any table record, a portal showing all other table records within the global date range.

 

Portal never shows any records. 

Posted

The problem is, the calculation references global fields so it must be unstored.  The 'portal' side must be stored.  You might remove the calculation completely and instead change the relationship.  Create a self join (another copy in the graph of the same table):

 

MainTable::gFrom <= MainTable 2::Date

AND

MainTable::gTo >= MainTable 2::Date

  • Like 1
Posted

<< self-inflicted dope slap>>

Thank you so much for both your repies, I was using the calculation route because I couldn't figure out how to do the range to range relationship.  Much simpler!!! thanks again.

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