Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8619 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

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?

Posted

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.

This topic is 8619 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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