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.

Relationship Based on a Blank Global

Featured Replies

  • Author

What I wanted to do was to create a self join relationship where the field "End_Date" was related to "End_Date_g_filter". I wanted the global filter to be blank so that my portal would only show records with an empty end date. If the global filter has a value and the end date matches, those records show up in my portal; however; if the global filter is empty and there are records with NO end date (aka it's blank) the portal shows NO records.

Should I create a calcuation on the table that says if the field is empty = 1 otherwise = 0 and then set the global to 1? Is there a better way?

Greg

What I wanted to do was to create a self join relationship where the field "End_Date" was related to "End_Date_g_filter". I wanted the global filter to be blank so that my portal would only show records with an empty end date. If the global filter has a value and the end date matches, those records show up in my portal; however; if the global filter is empty and there are records with NO end date (aka it's blank) the portal shows NO records.

Should I create a calcuation on the table that says if the field is empty = 1 otherwise = 0 and then set the global to 1? Is there a better way?

Greg

  • Author

What I wanted to do was to create a self join relationship where the field "End_Date" was related to "End_Date_g_filter". I wanted the global filter to be blank so that my portal would only show records with an empty end date. If the global filter has a value and the end date matches, those records show up in my portal; however; if the global filter is empty and there are records with NO end date (aka it's blank) the portal shows NO records.

Should I create a calcuation on the table that says if the field is empty = 1 otherwise = 0 and then set the global to 1? Is there a better way?

Greg

  • Author

I tried doing the calc thing and it worked, but I had to make the calcs stored. I would like them to be unstored so that when an end date is added then the portal changes. The problem is that if I make them unstored they don't show up at all in the portal. Ideas?

Greg

  • Author

I tried doing the calc thing and it worked, but I had to make the calcs stored. I would like them to be unstored so that when an end date is added then the portal changes. The problem is that if I make them unstored they don't show up at all in the portal. Ideas?

Greg

  • Author

I tried doing the calc thing and it worked, but I had to make the calcs stored. I would like them to be unstored so that when an end date is added then the portal changes. The problem is that if I make them unstored they don't show up at all in the portal. Ideas?

Greg

  • Author

Ok, so I'm posting my own questions and answers. I just figured it out. I changed the two calcs to text with auto entered calcs. This fixed it, but why? Are unstored calcs not relationship friendly?

Greg

  • Author

Ok, so I'm posting my own questions and answers. I just figured it out. I changed the two calcs to text with auto entered calcs. This fixed it, but why? Are unstored calcs not relationship friendly?

Greg

  • Author

Ok, so I'm posting my own questions and answers. I just figured it out. I changed the two calcs to text with auto entered calcs. This fixed it, but why? Are unstored calcs not relationship friendly?

Greg

No, unstored calcs cannot be indexed, and relationships only work with indexed fields. You can have an unindexed field on the parent side of a relationship, but not on the other.

No, unstored calcs cannot be indexed, and relationships only work with indexed fields. You can have an unindexed field on the parent side of a relationship, but not on the other.

No, unstored calcs cannot be indexed, and relationships only work with indexed fields. You can have an unindexed field on the parent side of a relationship, but not on the other.

  • 4 months later...
  • Author

Hi Bob,

What about auto entered calculations using the Lookup function and unchecking the "Do not replace existing value for field (if any)" box? I believe these are indexable. Are they indexable because they are stored, even though they allow updates by unchecking that box?

Greg

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.