Skip 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.

Portal Count

Featured Replies

Hi Board,

 

I have a table, that logs a Time and a Works Order number.

 

I have another instance of that table, used for a user interface layout. It has a self join that i am using to do a count of Works Order.

 

So, in the User Interface, there is a portal of the self join that shows all the records with the same Works Order as in the original table.

 

I want to make a field that is a Calculation (Count) of the self joined table.

 

But, on adding this field, i cannot select the other instance of the table because its not Related to the Original instance. 

 

What am i doing wrong here? It tells me I cannot use a non related field or that it should be a global field. Ive changed it to a global field storage type but that hasn't cleared the error message.

 

Thanks for any help.

 

Harry

In the Edit Calculation dialog, note the popup "Evaluate this calculation from the context of". The default TO is the first TO created for that table, which in your case obviously is not the correct one.

 

Choose a TO that is related to the table whose records you want to count, i.e. (IIUC) the TO your UI layout is based on.

  • Author

D'oh!

 

I'm only just learning about TO's, splitting up tables and connecting TO's in different ways for different calculations.

 

Thank you so much!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.