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.

Match fields based upon calculations

Featured Replies

Is there a way to establish a relationship based upon a calculation?

I would like the criteria for a "match" to be if a quantity field is greater than (1).

If, for example, the quantity of drawers in a cabinet is greater than zero the match field criteria would validate and a portal would display.

In this example the quantity of drawers could be 1,2, 3 or 4.

Is this possible?

Jarvis

I'm unsure of your structure but yes. Create a calculation (cDrawers) in your main table, number = 1. Create a relationship from this main table to your child table as:

Main::cDrawers :less: Child::DrawerNumber

You first say quantity greater than one and later indicate 1, 2, 3 and 4 should show. Adjust that calc as needed. If this is filtering an existing relationship, you can do so as well as

Main::ProjectID = Child::ProjectID

AND

cDrawers :less: Child::DrawerNumber

If this doesn't meet your need, we'll need a bit more information as to your existing structure.

UPDATE: If your drawer quantity is an aggregate function then NO, it can't be used as the child side of the relationship. Is the drawer number a standard number?

LaRetta :wink2:

Edited by Guest

It's possible in your example - because it's not really based on a calculation, but rather on a comparison. See the relevant help section.

  • Author

Thanks to both of you.

This looks just like what I am looking for.

Jarvis

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.