Jump to content
Sign in to follow this  
Jredeemer14

Script to paste into next portal row

Recommended Posts

Hello I have a script that is pasting contents from another table into a portal that has 6 rows. I want to have the script not overwrite the contents of the first row if there is something in it and paste it into the next row. I can already paste it into the first one, but I assume there is something in the scripting options to tell it to go to the next row if there is something in the first portal row. Any help would be appreciated, thanks - Jeff

Share this post


Link to post
Share on other sites

If you are trying to go to the next available portal row without something in it, you can try something like.

Loop

Exit Loop If [isEmpty (YourField)]

Go to Portal Row [ Select; Next; Exit after last]

End Loop

Set Field [YourField; "DATA"]

Share this post


Link to post
Share on other sites

This Looks good, or at least a step in the right direction. Yet, It appears that it is trying to put the data into my other portal on my layout. Is there anyway to specify what portal? Thanks - Jeff

Share this post


Link to post
Share on other sites

Try go to object or you can use go to field if that field is unique to a portal.

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.