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.

Featured Replies

I have a solution with about 1800 records in it. I have just recently added a validation to 10 of the fields so that they can each have only 8 characters. Is there a way I can go through the existing records and find/remove the extra characters that were there before I created the validation? Does the Trim function do this?

Thanks.

Susan

You can loop through all records and test whether Length(field1) > 8 or Length(field2) > 8, etc.

Show All Records

Freeze Window

Go to Record/Request/Page [First]

Loop

If [Length(field1) > 8 or Length(field2) > 8 or ... or Length(field10) > 8]

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

Else

Omit Record

End If

Exit Loop If [not Status(CurrentFoundCount)]

End Loop

Go to Record/Request/Page [First]

Now you can manually navigate through the found set and remove extra characters as necessary. You could script the removal of extra characters, but it's safer if you verify the change visually.

  • Author

Thanks for the script... it worked like a charm. And taught me about the Length function :-)

Susan

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.