Jump to content
Sign in to follow this  
JMart

Set Variable from Portal row

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Thanks. works like a charms

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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