Skip 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.

Exit Loop If problem

Featured Replies

Just upgraded to FMP 7 from 5.5. One of my scripts has a Loop/Exit Loop If...

The Exit Lopp If statement looks like this: Exit Loop If [${filename04-05}::PIN = 0]

When I enter "0", (zero) into the PIN field it is supposed to exit the loop but it doesn't. Does the hyphen in the Tablename cause this problem and if it does is there a way to change the Tablename?

Thanks confused.gif

You can change a table name, but tables are only referenced through a Table Occurrence. Both can be changed in the Define Database dialog. Double-click any TO in the TOG to change its name.

Remember that context is critical in FM7 -- (relation::field) will evaluate differently depending on the layout/TO it's being evaluated from.

  • Author

I successfully changed the table name and it changed everywhere it occurred in the script but that still didn't solve my problem. It won't exit the loop when "0" (zero) is entered in the PIN field.

Please post the whole script, then perhaps we could help you.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.