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.

Relating to a calculation field

Featured Replies

The one thing I've found about this forum is "never say never" ... somebody somewhere seems to have a suggestion. I'm wondering if anybody has such a suggestion for this instance.

Simply ... is there ANY way of forming a relationship to a calculation field?

In this instance, a calculation which forms a date (i.e. some records in my project manager are fixed ... some are set to "today" so that they are returned until the project is finished, where upon the date is set to the finished date)

I'd appreciate any suggestions

Warmest

Giles

FileMaker Version: Dev 6

Platform: Windows XP

If it is truly a date field you wouldn't be able to enter "today" in it, so it's not a date field.

If you're relating to a date field the other field must be a date field, but since you are relating to a text field, the other field must be a text field as well. You could create a new calculation field that converts the date into text [=datetotext(datefield)]

The field in the file that is related to must be indexable. Make sure your calculations have "Do not store calculation results -- calculate only when needed" unchecked in Storage Options. If FileMaker won't let you turn this off, a field in the calculation: cannot be indexed, is a summary, is a global, or comes from a related file. For the cannot be indexed error: is it another calculation that needs to have indexing turned on?

Another way to get around this is to have a normal field (text, number, date time) which has the results of the calculation. This has to be done in a script using Set Field. If the data doesn't change much, this may be the way to go. When I do this, a script sets the fields when records are created & modified.

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.