August 21, 200421 yr there is a problem when one tries to loop within a portal. the problem is with the end-of-loop detection. Example script: Go to Portal Row [select; Perform without dialog; First] Loop ..... ..... ..... (your operations here) Go to Portal Row [select; Perform without dialog; Next; Exit after last] End Loop The above script enters an infinite loop and creates infinite new portal records in the portal. Is there a fix for this? or am I just scripting something wrong here? I tried taking out Select, but it doesn't do it. It doesn't seem to detect the end-of-portal-records in portal.... :-( and this script is very important for me... thanks if you can help~
August 21, 200421 yr This is typical if the relationship is allowing creation of related records. Solutions: Use a second table occurance for non-creation operations, use a counter to know if you've hit the last portal row, check if the current portal row's auto entered ID is empty, or work the loop from the last portal row to the first, exiting after last.
Create an account or sign in to comment