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

Error message when adding Record in Portal


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

Recommended Posts

Posted

Using Portal to display tasks on Employee form. A script finds Open or All Tasks using a Relationship between global and calculation fields. Works fine.

However, CANNOT Add new Record from Portal -- error "This action cannot be performed because this field is not modifiable" -- even though a = Relationship is set up between EmplID fields & Allow Creation enabled.

Both Relationships discussed above are defined in a single Relationship link.

Research on this Forum indicates it's the relationship of the Global and Calculation field -- didn't understand it entirely -- I guess because the Calculation is a concatenated value that is not = to the Global field. I removed that link and added records through the Portal. But now the Script doesn't return the FoundSet.

I need to do both. I tried creating a Self Join so each matched field could have its own relationship, but that didn't work. I'm at a loss of how to change the Relationships so I can accomplish both tasks (pun). Please help....

ToDo_Tasks.zip

Posted

When you use the function to create a new record via a portal through a relationship, what happens is that filemaker actually creates a record and then "types" in the foreign key to make the connection. But in your case, the foreign key is a calc, so FMP can not type into it.

So the the answer is the "create related records" will never work if the distal key is a calculation.

The work around is to change your relationship to not use a calculation or to create a simple script attached to a plus button that creates a new remote record by filling in the various fields that comprise the calculation.

Hope this Helps

This topic is 6041 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.