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.

Cleaning up legacy text strings in fields

Featured Replies

Small mess to clean up: I have two street address fields: street_1 and street_2. However, there are times when 2 street lines haven't been enough. Users have added two lines of text separated by hard return to either street_1 or street_2 indescriminately. (Unfortunately.)

I need to find those fields with hard returns in them, and create new fields new_street_1, new_street_2 and new_street_3 based on the original street fields without damaging the original data so I can clean it up reliably. What script operation will work best to accomplish this goal?

Is there a better way?

Show all records

Go to Record [ first ]

Loop

Set Field [ YourTable::new_street_1 ; GetValue ( List ( YourTable::street_1 ; YourTable::street_2 ) ; 1 ) ]

Set Field [ YourTable::new_street_2 ; GetValue ( List ( YourTable::street_1 ; YourTable::street_2 ) ; 2 ) ]

Set Field [ YourTable::new_street_3 ; GetValue ( List ( YourTable::street_1 ; YourTable::street_2 ) ; 3 ) ]

Go to Record [ next ; exit after last ]

End Loop

  • Author

Thanks! I'll give it a shot and report back. Again, Cheers!

  • 4 months later...
  • Author

Wow, I thought I'd reported back on this. It's a little late but it worked well. Better late than never. Thanks for the tip.

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.