How does one pass a variable from one branch of a method to a secondary branch?
Here’s the problem. I understand many-to-many relationships in Servoy are structured the same way as in FMP – a “join” table standing between two major tables. In this case it’s company, people and company_join_people tables. Perhaps there’s a better way to initiate a new join, but here’s how I’m going about it.
A method sets variables for the company ID and people ID entered on a form in people, branches to a method in company_join_people, creates a new record and sets the company ID and people ID.
Since variables appear to only last for the duration of the run of the current method, I’m not understanding how to pass these values to the secondary script.
Appreciate some guidance. Thanks.