Jump to content
Sign in to follow this  
lisalem

Portal Row Loop

Recommended Posts

I'm using an If/Else statement to evaluate 3 parameters in a portal loop, then print the appropriate form. After checking the first row of the portal and performing correctly the script goes to the next record. I'm not sure how to keep the script from getting lost after leaving the portal row to print. I'm using a set field to set a global portal row counter to 0 before the loop begins, then the if/else statements, then using two more set fields. The first is status(currentportalrow), the second adds 1, then go to portal row by field value, which is the global row counter. The go to next record command is the last step before the end of the loop.

Any suggestions

Share this post


Link to post
Share on other sites

I must be missing something. Is there a reason why you are not just going to related records and performing the loop in that file before returning, or is that what you ARE doing?

Share this post


Link to post
Share on other sites

quote:

Originally posted by Unicorn:

I'm using an If/Else statement to evaluate 3 parameters in a portal loop, then print the appropriate form. After checking the first row of the portal and performing correctly the script goes to the next record. I'm not sure how to keep the script from getting lost after leaving the portal row to print. I'm using a set field to set a global portal row counter to 0 before the loop begins, then the if/else statements, then using two more set fields. The first is status(currentportalrow), the second adds 1, then go to portal row by field value, which is the global row counter. The go to next record command is the last step before the end of the loop.

Any suggestions

Loop back through the portal until you get back to where you left off. Unfortunately Filemaker does not allow the goto portal row command to be fed a calculation or field.

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.