Jump to content

Set Variable from Portal row


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

Recommended Posts

hello, having an issue that cant figure out why its not working. 

Have a portal in a layout (Table: Customers), showing all records from the same table (Customer). all works well, meaning all records are showing in the portal. now I am trying to create a record via a button on the portal row in a different table but cant get it to work.

in my script I have the following steps;

image.png.4a9d637bf819a4d571d37b45df29d7ec.png

This script runs via a button which I have on the portal row. 

all the steps appear to be running except the "set variable" is not pickup the selected row but whichever record its active 

Can someone give me an idea what I could be doing wrong. 

 

Thanks

JMart

Edited by JMart
Link to comment
Share on other sites

You have a self-join relationship, which means you have (at least) two occurrences of the Customers table on the graph. In order to set the variable to the value that appears in the portal row, you must use the occurrence that is used to populate the portal.

Link to comment
Share on other sites

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