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.

Calculation to consider all portal rows

Featured Replies

I am trying to create a rental database calendar that shows dates properties are rented. I have created a calendar and fields that calculate the date as a number once the year and month are selected for each day of the month. I have a related database called Lease which is linked through the property ID number.

Then I have tried to create a calculation field that says if the calendar date is greater than or equal to the lease start date or less than or equal to the lease end date of a related lease record than the condition is set to "yes" otherwise it is "no"

However, it works for the first record but not for the second or any subsequent records. How can I make the field consider all start and end dates in leases related to it. Any help would be greatly appreciated.

Have a look at the "Max" and "Min" functions.

You need to be considering all the RELATED data for your calc.

Sounds like your calculation field is on the calendar database. Put it on the lease database instead.

  • Author

Thanks so much for considering my problem. I wasn't sure how to make FileMaker consider all related records in my calculation. Do the min and max functions work like that?

I am hoping within in the properties database to have the calendar that I have set up to have a calculation field show up underneath it with different colors for rented days vs. available. I will then be able to look at one monthly calendar for a property that shows the availability at a glance. I have seen it done but don't know how to replicate it.

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.