Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Portal Row Loop

Featured Replies

  • Newbies

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

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?

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.