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.

Using a calculated field in a relationship

Featured Replies

Hi All

 

I'm working on a real estate investment sales DB

 

I have a file with three main tables; Deals, Investors and Opportunities. An opportunity is a join of deals and investors. Whenever an investor is interested in a deal we create an opportunity. 

 

Because it’s real estate, when one investor closes on a deal all the other opportunities are no longer valid. We would like to keep them in whatever state they finished up because it's a good historical record for investor activity. 

 

On the “Home” screen I want to have a portal showing all open opportunities - where the deal is not expired or sold. 

 

I have a calculated field in the opportunities table that refers to the deal_status field in deals. The “display” table which home is based on has one record in it and there are a couple of number fields that hold the key value for an expired or sold deal.

 

I set up the relationship between the display table and dispay_opps where display.deal_sold does not equal deal_opps.deal_status and display.deal_expired does not equal deal_opps.deal_status but nothing is showing.

 

I guess this is due to opportunities.deal_status being a calculated field (FMP makes it unstirred) but I’m pretty new at this and do not know the correct method to get the portal to load.

 

Any help would be really appreciated. Thanks!

 

Nick

Solved by comment

Go to solution
  • Solution

If I understand your description correctly (big IF), you want to have a chain of relationships:

Home -< Deals -< Opportunities

where the Home -< Deals relationship is based on matching deal_status. Then a portal to Opportunities, placed on a layout of Home, would show only opportunities belonging to "open" deals.

  • Author

You are right. Let me have a go at that.


Perfect. Thanks very much.

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.