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.

Get a related field

Featured Replies

Considerer a gymn class

Student::

::ID

::Name

::age

::gender

::Biggest_value (Calculation)

::Biggest_value_date (Calculation)

::Biggest_value_place (Calculation)

and

Records::

::ID

::StudentID

::place

::date

::value

Ofcourse I can pick Biggest_value using the Max function. I have no clue how to get ::Biggest_value_date. This is improtant to me to know the highest mark of that student, but also where and when he achieved it. Thanks you for your support.

This is improtant to me to know the highest mark of that student, but also where and when he achieved it.

For what purpose? If it's just to show them on the layout, you can use another portal. Make it one row tall, and sort it by mark, descending. If it's for something else, you will need another relationship - or a rather complex calculation.

Note also that more that one mark can be at maximum value - you need to consider what you want in such case.

I agree that you might just want to have a portal (with one or more fields) that is sorted by 'value'.

However, if you really want to show the date associated with the maximum value as a calculation, you could create a special relationship for this purpose.... Create another instance of the 'Records' table (call it MaxRec) in your relationship graph. Create a relationship with the Student table such that (Student::ID = MaxRec::StudentID AND Student::Biggest_value = MaxRec::value). Then the calculation for Biggest_value_date in the Student table is simply MaxRec::Date.

  • Author

Thank you for both valuable support. I'll try these two approaches.

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.