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.

Calculation fields always on?

Featured Replies

Hi Guys,

 

I have built relational crm package. I have thousands of contacts and each contact can have multiple addresses which are stored in a related file. On a print layout, I want to display the current address without the use of a portal/filter as it messes my clean layout, so I think I can fairly easily achieve this by creating calculated fields in the contacts table using executesql to bring in only the current address or email addresses etc.

 

My question is, if I introduce calculated fields (they would be unstored), is the calculation triggered only if I have that field on a layout I am using or go into the backend, or is the field always on and calculating in the background. I'm trying avoid the latter case as it would make the db terribly in efficient.

 

Many thanks

 

Jalz

Why use a calculation field? If there is only one “current address” per contact, store its ID as an attribute of the contact and display the related address field(s).

  • Author

Hi Eos,

 

I have more than 1 address for the contact (usually two, but potentially 3). However I have a primary address field which indicates that correspondence should go there. However I need to do this with other parts of the system as printing related data in FileMaker is pain (wish you could do calculations without resorting to a field just on layouts, without a web viewer)

 

Anyway, are calculated fields always calculating or do they only calculate when called upon, i.e. used in layout?

An unstored calculation field evaluates only when needed.

 

 

As noted by eos, if a contact can have only one primary address, then the primary address ID is an attribute of contact.

 

 

I want to display the current address without the use of a portal/filter as it messes my clean layout,

 

Not sure how this "messes your layout": a portal can be invisible.

Is this print layout going to be showing the primary address from one contact or multiple contacts? If multiple, then you'll notice a slowdown as FM fetches the related address data for each record.

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.