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.

Calc field ok for relational Key?

Featured Replies

Hi,

I'm pretty sure this is ok, but just want to verify with the experts.

I have a field called Task Number, it looks something like this 2005-0021-0024

A project is related to a Task record and I have made the TaskID a composite of the Project ID, the project ID part is 2005-0021 and the taskID part is 0024

is it ok to create a calculated field, say called ProjectID_Calc, which is maybe Left(TaskID; 6)

so the projectID_Calc for the above number will be 2005-0021

is there any harm or overhead/performance problems with doing that?

it seems "mostly harmless", but i want to be sure.

thanks for your help in advance.

sincerely,

j__

The usual concerns about key fields. The primary key must be unique. The foreign key must be indexed. Also you can not use auto create related record if the foreign key is a calculation.

  • Author

Thanks Ralph,

The primary key is unique ... foreign key indexed.. ok. .. uh .. oooh... gotcha.. :^)

OK, I'll use another approach.

thanks for the info,

sincerely,

j__

Also you can not use auto create related record if the foreign key is a calculation.

...that is, unless it is an auto-enter calculation! wink.gif

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.