Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7196 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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__

Posted

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.

Posted

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__

Posted

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

This topic is 7196 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.