I have been given the task of learning how to use Filemaker and I haven't been able to figure out how I can set the foreign key field on a table. The getting started PDF mentioned portals but I don't think the server is using portals because when I try to get related layouts it returns nothing.
Here is a snippet of the code I have been trying to get to work.
When I execute this code I get Error: Field cannot be modified. Is there a specific way to set the id of the foreign key field? Here is also an image of the configuration for the foreign key field.