Jredeemer14 Posted June 18, 2008 Posted June 18, 2008 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
mr_vodka Posted June 18, 2008 Posted June 18, 2008 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"]
Jredeemer14 Posted June 18, 2008 Author Posted June 18, 2008 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
mr_vodka Posted June 18, 2008 Posted June 18, 2008 Try go to object or you can use go to field if that field is unique to a portal.
Recommended Posts
This topic is 6003 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 accountSign in
Already have an account? Sign in here.
Sign In Now