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.

Go To Record usage question

Featured Replies

I'm trying to construct a simple script to clear a text field in the last 10 records of a 20-record table, but the script always clears the field in all of the records.

Enter Browse Mode []

Go to Record/Request/Page [No dialog; 11]

Loop

Replace Field Contents [No dialog; Table::Field; ""]

Go to Record/Request/Page [Next; Exit after last]

End Loop

This is my first attempt to use looping in a script, so I've obviously missed something very basic. I just haven't been able to locate a relevant example to get me on the right track.

The "replace field contents" step replaces everything in the found set.

Use your script and change "Replace Field Contents" to "Set Field[Table::Field; ""]

Hope that does it!

Although your loop will execute quite quickly you can still keep the script you are using but use the "omit records" script step to leave out he first 10 records and then use the replace.

Like I say 10 records is pretty quick, but 10,000 would be quite different.

Only a "heads up" on technique.

  • Author

Thanks to you both. Things make a lot more sense now.

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.